VirtualBox

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


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/linux/sharedfolders/Makefile.module

    r77393 r77397  
    5353        -I$(VBOXSF_DIR)r0drv/linux
    5454MOD_DEFS = \
    55         -DRT_OS_LINUX \
    56         -DIN_RING0 \
    57         -DIN_RT_R0 \
    58         -DIN_SUP_R0 \
    59         -DVBOX \
    60         -DVBOX_WITH_HGCM \
    61         -DIN_MODULE \
    62         -DIN_GUEST \
    63         -DIN_GUEST_R0 \
    64         -DRT_NO_EXPORT_SYMBOL
     55        RT_OS_LINUX \
     56        IN_RING0 \
     57        IN_RT_R0 \
     58        IN_SUP_R0 \
     59        VBOX \
     60        VBOX_WITH_HGCM \
     61        IN_MODULE \
     62        IN_GUEST \
     63        IN_GUEST_R0 \
     64        RT_NO_EXPORT_SYMBOL
    6565ifeq ($(BUILD_TARGET_ARCH),amd64)
    66 MOD_DEFS += -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS
     66MOD_DEFS += RT_ARCH_AMD64 VBOX_WITH_64_BITS_GUESTS
    6767else
    68 MOD_DEFS += -DRT_ARCH_X86
     68MOD_DEFS += RT_ARCH_X86
    6969endif
    7070ifeq ($(KERN_VERSION),24)
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