summaryrefslogtreecommitdiffstats
path: root/acompiler
diff options
context:
space:
mode:
Diffstat (limited to 'acompiler')
-rwxr-xr-xacompiler/virtualbox-module/Pkgfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/acompiler/virtualbox-module/Pkgfile b/acompiler/virtualbox-module/Pkgfile
index 8e5de342c..fe195a7d2 100755
--- a/acompiler/virtualbox-module/Pkgfile
+++ b/acompiler/virtualbox-module/Pkgfile
@@ -7,7 +7,7 @@ name=virtualbox-module
version=3.2.10
release=2
_name=VirtualBox
-_kernel=`uname -r|sed "s/-NuTyX//"`
+_kernel=2.6.36-NuTyX
_build=66896
source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_x86.run)
@@ -19,7 +19,9 @@ build() {
mkdir -p $PKG/lib/modules/`uname -r`/kernel/drivers/misc/
cd $SRC/src/vboxhost/
- make
+
+ KERNELRELEASE=${_kernel} KERN_DIR=/usr/src/linux-`echo ${_kernel}|sed "s/-NuTyX//"` make
+
install -D -m 0644 vboxdrv.ko \
$PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxdrv.ko
install -D -m 0644 vboxnetflt.ko \