VirtualBox

Changeset 14436 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 20, 2008 9:06:10 PM (16 years ago)
Author:
vboxsync
Message:

deb/rpm: fixed vboxnetflt module compilation

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r14432 r14436  
    206206endif
    207207
     208KBUILD_VERBOSE ?= 1
     209
    208210#
    209211# Compiler options
     
    269271
    270272$(MODULE):
    271         $(MAKE) KBUILD_VERBOSE=1 -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules
     273        $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules
    272274
    273275ifeq ($(KERN_VERSION),24)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile

    r14430 r14436  
    200200endif
    201201
     202KBUILD_VERBOSE ?= 1
     203
    202204#
    203205# Compiler options
     
    251253
    252254$(MODULE):
    253         $(MAKE) KBUILD_VERBOSE=1 -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules
     255        $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules
    254256
    255257install: $(MODULE)
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r14256 r14436  
    252252        $(QUIET)$(SED_EXT) \
    253253                -e "s|%NOLSB%|yes|g" \
    254                 -e "s|%NETFLT%|$(VBOX_WITH_NETFLT)|g" \
    255254                -e "s|%PACKAGE%|virtualbox|g" \
    256255                --output $@ \
  • trunk/src/VBox/Installer/linux/vboxdrv.sh.in

    r14256 r14436  
    3232LOG="/var/log/vbox-install.log"
    3333NOLSB=%NOLSB%
    34 NETFLT=%NETFLT%
    3534
    3635[ -f /lib/lsb/init-functions ] || NOLSB=yes
     
    183182        failure "Cannot change owner $GROUPNAME for device $DEVICE"
    184183    fi
    185     if [ -n "$NETFLT" ]; then
    186         if ! modprobe vboxnetflt > /dev/null 2>&1; then
    187             failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
    188         fi
     184    if ! modprobe vboxnetflt > /dev/null 2>&1; then
     185        failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
    189186    fi
    190187    succ_msg
     
    276273        failure "Look at $LOG to find out what went wrong"
    277274    fi
    278     if [ -n "$NETFLT" ]; then
    279         if ! $BUILDVBOXNETFLT \
    280             --use-module-symvers /tmp/vboxdrv-Module.symvers \
    281             --no-print-directory install >> $LOG 2>&1; then
    282             failure "Look at $LOG to find out what went wrong"
    283         fi
     275    if ! $BUILDVBOXNETFLT \
     276        --use-module-symvers /tmp/vboxdrv-Module.symvers \
     277        --no-print-directory install >> $LOG 2>&1; then
     278        failure "Look at $LOG to find out what went wrong"
    284279    fi
    285280    succ_msg
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette