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/VBoxNetFlt/linux/Makefile

    r36190 r36293  
    164164 export INCL
    165165endif
     166ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetflt),)
     167 MANGLING := $(KBUILD_EXTMOD)/vboxnetflt/include/VBox/SUPDrvMangling.h
     168else
     169 MANGLING := $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h
     170endif
    166171KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
    167172            -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING
     
    198203
    199204# build defs
    200 EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
     205EXTRA_CFLAGS  += -include $(MANGLING) $(INCL) $(KFLAGS) $(KDEBUG)
    201206
    202207all: $(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