vmci.ko-gcc

This commit is contained in:
milisbir 2018-03-01 17:45:08 +02:00
parent a3217dba08
commit ce2970b9d1
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
#!/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*
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
cp vmmon-only/vmmon.ko lib/modules/$(uname -r)/extra/
make KVERSION=$(uname -r) VM_KBUILD=yes -C vmnet-only
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
modprobe vmmon
modprobe vmnet