summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-02 06:49:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-02 06:49:56 +0000
commitfc0863785a0200de0d0135abf5ce16a803e5b2d6 (patch)
tree4e0e16c202d1a3771f0bac76dcfc7a4a1c79fff5 /tools/Makefile
parentce6b3da88091c3b0d631c98604fe691b87760e26 (diff)
downloadmaster-31e0f0ae-fc0863785a0200de0d0135abf5ce16a803e5b2d6.tar.gz
master-31e0f0ae-fc0863785a0200de0d0135abf5ce16a803e5b2d6.tar.bz2
master-31e0f0ae-fc0863785a0200de0d0135abf5ce16a803e5b2d6.zip
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 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 80c2d11628..486734bc85 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -80,8 +80,9 @@ $(STAGING_DIR)/.prepared: $(TMP_DIR)/.build
$(STAGING_DIR_HOST)/.prepared: $(TMP_DIR)/.build
$(call PrepareStaging,$(STAGING_DIR_HOST))
- mkdir -p $(BUILD_DIR_HOST)/stamp
+ mkdir -p $(BUILD_DIR_HOST)/stamp $(STAGING_DIR_HOST)/include/sys
$(INSTALL_DATA) $(TOPDIR)/tools/include/*.h $(STAGING_DIR_HOST)/include/
+ $(INSTALL_DATA) $(TOPDIR)/tools/include/sys/*.h $(STAGING_DIR_HOST)/include/sys/
touch $@