diff options
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile index 3c37316b96..02556d4b83 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -138,6 +138,10 @@ $(STAGING_DIR_HOST)/.prepared: $(TMP_DIR)/.build 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/ +ifneq ($(HOST_OS),Linux) + mkdir -p $(STAGING_DIR_HOST)/include/asm + $(INSTALL_DATA) $(TOPDIR)/tools/include/asm/*.h $(STAGING_DIR_HOST)/include/asm/ +endif ln -snf lib $(STAGING_DIR_HOST)/lib64 touch $@ |