VirtualBox

Ignore:
Timestamp:
Mar 16, 2011 5:13:15 PM (14 years ago)
Author:
vboxsync
Message:

Linux additions / host drivers: fixed compilation with DKMS

File:
1 edited

Legend:

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

    r36274 r36293  
    232232 export INCL
    233233endif
     234ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxguest),)
     235 MANGLING := $(KBUILD_EXTMOD)/vboxguest/include/VBox/VBoxGuestMangling.h
     236else
     237 MANGLING := $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h
     238endif
    234239KFLAGS   := -D__KERNEL__ -DMODULE \
    235240        -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 \
     
    274279
    275280# build defs
    276 EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
     281EXTRA_CFLAGS += -include $(MANGLING) $(INCL) $(KFLAGS) $(KDEBUG)
    277282
    278283all: $(MODULE)
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