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
This commit is contained in:
Felix Fietkau
2011-07-02 06:49:56 +00:00
parent ce6b3da880
commit fc0863785a
3 changed files with 60 additions and 1 deletions

View 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)),"")