VirtualBox

Ignore:
Timestamp:
Sep 6, 2010 8:25:57 PM (14 years ago)
Author:
vboxsync
Message:

Linux host kernel modules: some minor Makefile fixes

File:
1 edited

Legend:

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

    r32183 r32256  
    144144endif
    145145
    146 ifneq ($(MAKECMDGOALS),clean)
    147 
    148146ifeq ($(KERNELRELEASE),)
    149147
     
    231229 export INCL
    232230endif
    233 KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING
     231KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
     232            -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING
    234233ifdef VBOX_REDHAT_KABI
    235234 KFLAGS  += -DVBOX_REDHAT_KABI
     
    263262
    264263$(MODULE):
    265         $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules
     264        $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) -C $(KERN_DIR) modules
    266265
    267266install: $(MODULE)
     
    275274        install -m 0664 $(MODULE).$(MODULE_EXT) $(MODULE_DIR)
    276275
    277 endif # eq($(MAKECMDGOALS),clean)
    278 
    279276clean:
    280         for f in . linux r0drv r0drv/generic r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    281             do rm -f $$f/*.o $$f/.*.cmd $$f/.*.flags; done
    282         rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers modules.order
     277        $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) -C $(KERN_DIR) clean
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