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

    r36190 r36293  
    160160 export INCL
    161161endif
     162ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetadp),)
     163 MANGLING := $(KBUILD_EXTMOD)/vboxnetadp/include/VBox/SUPDrvMangling.h
     164else
     165 MANGLING := $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h
     166endif
    162167KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
    163168            -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING
     
    194199
    195200# build defs
    196 EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
     201EXTRA_CFLAGS  += -include $(MANGLING) $(INCL) $(KFLAGS) $(KDEBUG)
    197202
    198203all: $(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