Changeset 57969 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Sep 30, 2015 2:48:47 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile
r44528 r57969 18 18 ifneq ($(KBUILD_EXTMOD),) 19 19 20 # DKMS 20 # Building from kBuild (make -C <kernel_directory> M=`pwd`). 21 # KBUILD_EXTMOD is set to $(M) in this case. 21 22 22 23 obj-m = vboxguest/ vboxsf/ vboxvideo/ -
trunk/src/VBox/Additions/linux/Makefile.kmk
r56301 r57969 156 156 vboxvideo_drv.o 157 157 158 VBOX_ADD_KMOD_FILES = $(addprefix vboxguest-$(VBOX_VERSION_STRING)/, Makefile dkms.conf do_dkmsbuild_in_tmp)158 VBOX_ADD_KMOD_FILES = $(addprefix vboxguest-$(VBOX_VERSION_STRING)/, Makefile build_in_tmp) 159 159 VBOX_ADD_KMOD_DIRS = $(addprefix vboxguest-$(VBOX_VERSION_STRING)/, vboxguest/ vboxsf/ vboxvideo/) 160 160 … … 366 366 $(VBOX_REL_LNX_ADD_INST)deffiles 367 367 LnxAdd-scripts_EXEC_SOURCES = \ 368 $(VBOX_REL_LNX_HOST_DRV)do_dkms \369 368 $(VBOX_REL_LNX_INST_SRC)routines.sh \ 370 369 $(VBOX_REL_LNX_ADD_INST)vboxadd.sh=>vboxadd \ -
trunk/src/VBox/Additions/linux/drm/Makefile.kmk
r56301 r57969 32 32 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN)) 33 33 vboxvideo_drm-mod_EXEC_SOURCES = \ 34 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN)) \ 35 $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers 34 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN)) 36 35 37 36 -
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r57945 r57969 277 277 cleanup_modules() 278 278 { 279 if [ -n "$(which dkms 2>/dev/null)" ]; then 280 begin "Removing existing VirtualBox DKMS kernel modules" 281 $DODKMS uninstall $OLDMODULES > $LOG 282 succ_msg 283 fi 284 begin "Removing existing VirtualBox non-DKMS kernel modules" 279 begin "Removing existing VirtualBox kernel modules" 280 # We no longer support DKMS, remove any leftovers. 281 for i in vboxguest vboxadd vboxsf vboxvfs vboxvideo; do 282 rm -rf "/var/lib/dkms/${i}"* 283 done 285 284 for i in $OLDMODULES; do 286 285 find /lib/modules -name $i\* | xargs rm 2>/dev/null … … 295 294 cleanup_modules 296 295 begin "Building the VirtualBox Guest Additions kernel modules" 297 298 # Short cut out if a dkms build succeeds299 if [ -n "$(which dkms 2>/dev/null)" ] &&300 $DODKMS install vboxguest $INSTALL_VER >> $LOG 2>&1; then301 succ_msg302 return 0303 fi304 296 305 297 test_for_gcc_and_make … … 424 416 MODULE_SRC="$INSTALL_DIR/src/vboxguest-$INSTALL_VER" 425 417 BUILDINTMP="$MODULE_SRC/build_in_tmp" 426 DODKMS="$MODULE_SRC/do_dkms"427 418 chcon -t bin_t "$BUILDINTMP" > /dev/null 2>&1 428 chcon -t bin_t "$DODKMS" > /dev/null 2>&1429 419 430 420 setup_modules … … 447 437 test -n "$INSTALL_DIR" -a -n "$INSTALL_VER" || 448 438 fail "Configuration file $config not complete" 449 DODKMS="$INSTALL_DIR/src/vboxguest-$INSTALL_VER/do_dkms"450 elif test -x ./do_dkms; then # Executing as part of the installer...451 DODKMS=./do_dkms452 439 else 453 440 fail "Configuration file $config not found" -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk
r56301 r57969 29 29 $(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN)) 30 30 vboxsf-mod_EXEC_SOURCES = \ 31 $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN)) \ 32 $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers 31 $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN)) 33 32 34 33
Note:
See TracChangeset
for help on using the changeset viewer.