only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts...
[openwrt/svn-archive/archive.git] / include / kernel-defaults.mk
index 1bc829b901ca2819ce828db43ea31f68cc8011d2..5fd27ae7cdf76dce6bb039a8dbcb88d6ec5c99e7 100644 (file)
@@ -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)),"")