vbox-guest

This commit is contained in:
milisbir 2018-11-25 15:44:17 +02:00
parent a20aee24fd
commit 64143cba04
1 changed files with 4 additions and 3 deletions

View File

@ -12,9 +12,10 @@ kaynak=(https://sourceforge.net/projects/kaosx/files/sources/virtualbox-modules/
derle() {
_kernver="`ls /lib/modules`"
cd $SRC/vbox-guest-module-src-${surum}
make -j1 KERN_DIR=/lib/modules/${_kernver}/build MODULE_DIR_TST=${PKG}/lib/modules/${_kernver} \
MODULE_DIR=${PKG}/lib/modules/${_kernver}/misc
cd $SRC/vbox-guest-module-src-${surum}
make all -j1 KERN_DIR=/lib/modules/${_kernver}/build MODULE_DIR_TST=${PKG}/lib/modules/${_kernver} \
MODULE_DIR=${PKG}/lib/modules/${_kernver}/extra
cd $SRC/vbox-guest-module-src-${surum}/
install -dm755 ${PKG}/lib/modules/${_kernver}/extra
install -m644 *.ko ${PKG}/lib/modules/${_kernver}/extra/
}