Changeset 36583 in vbox for trunk/src/VBox/Installer/linux/Makefile.include.footer
- Timestamp:
- Apr 6, 2011 2:40:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.include.footer
r36509 r36583 77 77 export INCL 78 78 endif 79 KFLAGS := -D__KERNEL__ -DMODULE \ 80 -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 $(MOD_DEFS) 79 KFLAGS := -D__KERNEL__ -DMODULE $(MOD_DEFS) 81 80 ifeq ($(BUILD_TYPE),debug) 82 KFLAGS+= -DDEBUG81 KFLAGS += -DDEBUG 83 82 endif 84 83 … … 92 91 endif 93 92 94 CFLAGS := -O2 -DVBOX_LINUX_2_4 -DEXPORT_SYMTAB $(INCL) $(KFLAGS) $(KDEBUG) \ 95 $(MOD_CFLAGS) 93 CFLAGS := -O2 -DVBOX_LINUX_2_4 $(MOD_CFLAGS) $(INCL) $(KFLAGS) $(MOD_EXTRA) $(KDEBUG) 96 94 MODULE_EXT := o 97 95 … … 114 112 115 113 # build defs 116 EXTRA_CFLAGS += $(MOD_CFLAGS) $(INCL) $(KFLAGS) $( KDEBUG)114 EXTRA_CFLAGS += $(MOD_CFLAGS) $(INCL) $(KFLAGS) $(MOD_EXTRA) $(KDEBUG) 117 115 118 116 all: $(MODULE) … … 132 130 endif # eq($(MAKECMDGOALS),clean) 133 131 132 # important: Don't remove Module.symvers! DKMS does 'make clean' before building ... 134 133 clean: 135 134 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.order135 rm -rf .$(MOD_NAME)* .tmp_ver* $(MOD_NAME).* Modules.symvers modules.order
Note:
See TracChangeset
for help on using the changeset viewer.