VirtualBox

Changeset 77397 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Feb 20, 2019 6:17:14 PM (6 years ago)
Author:
vboxsync
Message:

More linux kernel module Makefile cleanups: MOD_DEFS -> implicit -D

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

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

    r77390 r77397  
    3636VBOX_INCL := $(addprefix -I,$(KERN_INCL) $(EXTRA_INCL)) $(MOD_INCL)
    3737
    38 KFLAGS   := -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE $(MOD_DEFS)
     38KFLAGS := -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE $(addprefix -D,$(MOD_DEFS))
     39ifeq ($(BUILD_TARGET_ARCH),amd64)
     40KFLAGS += -DRT_ARCH_AMD64
     41else
     42KFLAGS += -DRT_ARCH_X86
     43endif
     44
    3945ifeq ($(BUILD_TYPE),debug)
    4046# The -Wno-array-bounds is because of a bug in gcc 4.something, see
  • trunk/src/VBox/Installer/linux/Makefile-header.gmk

    r77390 r77397  
    2727# follows:
    2828#
    29 # # Linux kbuild sets this to our source directory if we are called from
    30 # # there
     29# # Linux kbuild sets this to our source directory if we are called from there
    3130# obj ?= $(CURDIR)
    3231# include $(obj)/Makefile-header.gmk
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