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

    r36190 r36293  
    153153 export INCL
    154154endif
     155ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxvideo),)
     156 MANGLING := $(KBUILD_EXTMOD)/vboxvideo/include/VBox/VBoxGuestMangling.h
     157else
     158 MANGLING := $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h
     159endif
    155160KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
    156161            -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE \
     
    215220
    216221# build defs
    217 EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
     222EXTRA_CFLAGS += -include $(MANGLING) $(INCL) $(KFLAGS) $(KDEBUG)
    218223
    219224all: $(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