VirtualBox

Ignore:
Timestamp:
Apr 6, 2011 2:40:38 PM (14 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: clean-up in the VBoxGuest kernel makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.include.footer

    r36509 r36583  
    7777 export INCL
    7878endif
    79 KFLAGS   := -D__KERNEL__ -DMODULE \
    80                 -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 $(MOD_DEFS)
     79KFLAGS   := -D__KERNEL__ -DMODULE $(MOD_DEFS)
    8180ifeq ($(BUILD_TYPE),debug)
    82 KFLAGS   += -DDEBUG
     81 KFLAGS  += -DDEBUG
    8382endif
    8483
     
    9291endif
    9392
    94 CFLAGS := -O2 -DVBOX_LINUX_2_4 -DEXPORT_SYMTAB $(INCL) $(KFLAGS) $(KDEBUG) \
    95                 $(MOD_CFLAGS)
     93CFLAGS := -O2 -DVBOX_LINUX_2_4 $(MOD_CFLAGS) $(INCL) $(KFLAGS) $(MOD_EXTRA) $(KDEBUG)
    9694MODULE_EXT := o
    9795
     
    114112
    115113# build defs
    116 EXTRA_CFLAGS += $(MOD_CFLAGS) $(INCL) $(KFLAGS) $(KDEBUG)
     114EXTRA_CFLAGS += $(MOD_CFLAGS) $(INCL) $(KFLAGS) $(MOD_EXTRA) $(KDEBUG)
    117115
    118116all: $(MODULE)
     
    132130endif # eq($(MAKECMDGOALS),clean)
    133131
     132# important: Don't remove Module.symvers! DKMS does 'make clean' before building ...
    134133clean:
    135134        for f in $(MOD_CLEAN); do rm -f $$f/*.o $$f/.*.cmd $$f/.*.flags; done
    136         rm -rf .$(MOD_NAME)* .tmp_ver* $(MOD_NAME).* Module.symvers Modules.symvers modules.order
     135        rm -rf .$(MOD_NAME)* .tmp_ver* $(MOD_NAME).* Modules.symvers modules.order
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