diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-02 06:49:56 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-02 06:49:56 +0000 |
commit | 923ecf7916a72c141237e4f96ebf37cfec161260 (patch) | |
tree | 5253513aece391be156c73c277c51b37485178c7 /include | |
parent | 66e8c5056575b39786310e9b353e7058b482a2ab (diff) |
add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-defaults.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 1bc829b901..5fd27ae7cd 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -22,6 +22,8 @@ ifneq (,$(KERNEL_CC)) KERNEL_MAKEOPTS += CC="$(KERNEL_CC)" endif +export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include + # defined in quilt.mk Kernel/Patch:=$(Kernel/Patch/Default) ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") |