summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild')
-rw-r--r--system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
index 7304b0d267..ba3c0a1179 100644
--- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
+++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
@@ -23,27 +23,26 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=virtualbox-kernel-addons
-VERSION=3.1.6
+VERSION=3.2.6
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
KERNELPATH=${KERNELPATH:-/lib/modules/$KERNEL/build}
PKG_VERS=${VERSION}_$(echo $KERNEL| tr - _)
-PKG_ARCH=$ARCH
unset ARCH
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
+PKG_ARCH=$ARCH
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
@@ -62,7 +61,7 @@ chmod -R u+w,go+r-w,a-s .
mkdir -p $PKG/lib/modules/$KERNEL/misc
-for i in vboxguest vboxvfs vboxvideo; do
+for i in vboxguest vboxsf vboxvideo; do
cd $i
make KERN_DIR=$KERNELPATH
install -m 0644 $i.ko $PKG/lib/modules/$KERNEL/misc/