VirtualBox

Changeset 77397 in vbox for trunk/src/VBox/Additions/common


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile

    r77393 r77397  
    130130endif
    131131
    132 MOD_DEFS = -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST \
    133            -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST \
    134            -DVBOX_WITH_HGCM
     132MOD_DEFS = \
     133        VBOX \
     134        RT_OS_LINUX \
     135        IN_RING0 \
     136        IN_RT_R0 \
     137        IN_GUEST \
     138        IN_GUEST_R0 \
     139        IN_MODULE \
     140        RT_WITH_VBOX \
     141        VBGL_VBOXGUEST \
     142        VBOX_WITH_HGCM
    135143ifeq ($(BUILD_TARGET_ARCH),amd64)
    136 MOD_DEFS += -DRT_ARCH_AMD64
     144MOD_DEFS += RT_ARCH_AMD64
    137145else
    138 MOD_DEFS += -DRT_ARCH_X86
     146MOD_DEFS += RT_ARCH_X86
    139147endif
    140148ifeq ($(BUILD_TARGET_ARCH),amd64)
    141 MOD_DEFS += -DVBOX_WITH_64_BITS_GUESTS
     149MOD_DEFS += VBOX_WITH_64_BITS_GUESTS
    142150endif
    143151ifeq ($(KERN_VERSION),24)
    144 MOD_DEFS += -DEXPORT_SYMTAB
     152MOD_DEFS += EXPORT_SYMTAB
    145153endif
    146154
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