VirtualBox

Changeset 214 in vbox for trunk


Ignore:
Timestamp:
Jan 21, 2007 7:07:01 PM (18 years ago)
Author:
vboxsync
Message:

make 'make -C <linux> M=$(pwd)' work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/Makefile.module

    r1 r214  
    8484#
    8585ifndef INCL
    86 INCL     := -I$(KERN_INCL) -I$(shell pwd)  -I$(shell pwd)/include -I$(shell pwd)/r0drv/linux
    87 export INCL
     86 INCL    := -I$(KERN_INCL)
     87 ifndef KBUILD_EXTMOD
     88  KBUILD_EXTMOD := $(shell pwd)
     89 endif
     90 INCL    += $(addprefix -I$(KBUILD_EXTMOD),/  /include /r0drv/linux)
     91 export INCL
    8892endif
    8993KFLAGS   := -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_HGCM
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