VirtualBox

Ignore:
Timestamp:
Feb 20, 2019 6:17:14 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128951
Message:

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

File:
1 edited

Legend:

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

    r77394 r77397  
    5555        -I$(VBOXPCI_DIR)r0drv/linux
    5656MOD_DEFS = \
    57         -DRT_OS_LINUX \
    58         -DIN_RING0 \
    59         -DIN_RT_R0 \
    60         -DIN_SUP_R0 \
    61         -DVBOX \
    62         -DRT_WITH_VBOX \
    63         -DVBOX_WITH_HARDENING
    64 ifeq ($(BUILD_TARGET_ARCH),amd64)
    65 MOD_DEFS += -DRT_ARCH_AMD64
    66 else
    67 MOD_DEFS += -DRT_ARCH_X86
    68 endif
     57        RT_OS_LINUX \
     58        IN_RING0 \
     59        IN_RT_R0 \
     60        IN_SUP_R0 \
     61        VBOX \
     62        RT_WITH_VBOX \
     63        VBOX_WITH_HARDENING
    6964MOD_CFLAGS = -include $(VBOXPCI_DIR)include/VBox/SUPDrvMangling.h -fno-pie
    7065
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette