Changeset 44287 in vbox
- Timestamp:
- Jan 14, 2013 3:17:39 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83196
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r44280 r44287 2775 2775 ifeq ($(origin VBOX_LINUX_INCS),undefined) 2776 2776 export VBOX_LINUX_INCS := $(VBOX_LINUX_SRC)/include 2777 # XXX hack alert! support split Linux kernels (make O=<build directory>) 2777 # XXX hack alert! Support split Linux kernels (make O=<build directory>). kernelpath points to 2778 # the obj directory while VBOX_LINUX_SRC points to the virgin source directory. 2778 2779 # XXX put this crap elsewhere 2779 2780 kernelpath := $(shell $(SED_EXT) -ne 's+^KERNELSRC.*= *\(.*\)+\1+p' $(VBOX_LINUX_SRC)/Makefile) … … 2800 2801 $(kernelpath)/arch/x86/include/asm/mach-default \ 2801 2802 $(kernelpath)/arch/x86/include/uapi \ 2802 $( kernelpath)/arch/x86/include/generated \2803 $( kernelpath)/arch/x86/include/generated/uapi \2803 $(VBOX_LINUX_SRC)/arch/x86/include/generated \ 2804 $(VBOX_LINUX_SRC)/arch/x86/include/generated/uapi \ 2804 2805 $(kernelpath)/include/uapi \ 2805 $( kernelpath)/include/generated/uapi \2806 $(VBOX_LINUX_SRC)/include/generated/uapi \ 2806 2807 $(kernelpath)/include 2807 2808 endif … … 2809 2810 # Since Linux 2.6.15, <linux/autoconf.h> is included like this. It cannot hurt to do the 2810 2811 # same for older Linux kernels 2811 ifneq ($(wildcard $( VBOX_LINUX_SRC)/include/linux/kconfig.h),)2812 ifneq ($(wildcard $(kernelpath)/include/linux/kconfig.h),) 2812 2813 # Linux >= 3.1 2813 export VBOX_LINUX_INCLUDE := -include $( VBOX_LINUX_SRC)/include/linux/kconfig.h2814 export VBOX_LINUX_INCLUDE := -include $(kernelpath)/include/linux/kconfig.h 2814 2815 else ifneq ($(wildcard $(VBOX_LINUX_SRC)/include/generated/autoconf.h),) 2815 2816 # Linux >= 2.6.33
Note:
See TracChangeset
for help on using the changeset viewer.