diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-02 06:49:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-02 06:49:56 +0000 |
commit | fc0863785a0200de0d0135abf5ce16a803e5b2d6 (patch) | |
tree | 4e0e16c202d1a3771f0bac76dcfc7a4a1c79fff5 /include/kernel-defaults.mk | |
parent | ce6b3da88091c3b0d631c98604fe691b87760e26 (diff) | |
download | mtk-20170518-fc0863785a0200de0d0135abf5ce16a803e5b2d6.zip mtk-20170518-fc0863785a0200de0d0135abf5ce16a803e5b2d6.tar.gz mtk-20170518-fc0863785a0200de0d0135abf5ce16a803e5b2d6.tar.bz2 |
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
SVN-Revision: 27346
Diffstat (limited to 'include/kernel-defaults.mk')
-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 1bc829b..5fd27ae 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)),"") |