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 | 2bff76170f8ecad6734a5d33fd8ff2e111dfd1a2 (patch) | |
tree | 5253513aece391be156c73c277c51b37485178c7 /tools/Makefile | |
parent | 4c725597425f2b0113f98b052515c059117b6695 (diff) | |
download | upstream-2bff76170f8ecad6734a5d33fd8ff2e111dfd1a2.tar.gz upstream-2bff76170f8ecad6734a5d33fd8ff2e111dfd1a2.tar.bz2 upstream-2bff76170f8ecad6734a5d33fd8ff2e111dfd1a2.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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 3 |
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 $@ |