vmci.ko-gcc
This commit is contained in:
parent
a3217dba08
commit
ce2970b9d1
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -f /sources/milis.git/ayarlar/moduller/vmci.ko ] && cp /sources/milis.git/ayarlar/moduller/vmci.ko lib/modules/$(uname -r)/extra/
|
[ -f /sources/milis.git/ayarlar/moduller/vmci.ko ] && cp /sources/milis.git/ayarlar/moduller/vmci.ko /lib/modules/$(uname -r)/extra/
|
||||||
cd /usr/src/vmware-14*
|
cd /usr/src/vmware-14*
|
||||||
mv /usr/src/linux-$(uname -r)/vmlinux /opt
|
[ -f /usr/src/linux-$(uname -r)/vmlinux ] && mv /usr/src/linux-$(uname -r)/vmlinux /opt
|
||||||
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmmon-only
|
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmmon-only
|
||||||
cp vmmon-only/vmmon.ko lib/modules/$(uname -r)/extra/
|
cp vmmon-only/vmmon.ko lib/modules/$(uname -r)/extra/
|
||||||
|
|
||||||
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmnet-only
|
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmnet-only
|
||||||
cp vmnet-only/vmnet.ko lib/modules/$(uname -r)/extra/
|
cp vmnet-only/vmnet.ko lib/modules/$(uname -r)/extra/
|
||||||
|
|
||||||
mv /opt/vmlinux /usr/src/linux-$(uname -r)/
|
[ -f /opt/vmlinux ] && mv /opt/vmlinux /usr/src/linux-$(uname -r)/
|
||||||
depmod
|
depmod
|
||||||
modprobe vmmon
|
modprobe vmmon
|
||||||
modprobe vmnet
|
modprobe vmnet
|
||||||
|
|
Loading…
Reference in New Issue