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/HostDrivers/Support/linux/Makefile

    r36254 r36293  
    240240 export INCL
    241241endif
     242ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxdrv),)
     243 MANGLING := $(KBUILD_EXTMOD)/vboxdrv/include/VBox/SUPDrvMangling.h
     244else
     245 MANGLING := $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h
     246endif
    242247KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
    243248            -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING
     
    266271
    267272# build defs
    268 EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
     273EXTRA_CFLAGS  += -include $(MANGLING) $(INCL) $(KFLAGS) $(KDEBUG)
    269274
    270275all: $(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