summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-08 10:37:20 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-08 10:37:20 +0000
commite87fb5ee5a75b03e8b2e128b611a72e08eab3196 (patch)
treeba80515551107c8860d5c2ac631577ff60178762 /include
parent7067099c14d67d0f5287b0f253f5544783a6cb6b (diff)
use newer config.guess and config.sub for packages then the shipped ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7532 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/host-build.mk1
-rw-r--r--include/package-defaults.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index b5c2a2203..2950ec721 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -30,6 +30,7 @@ endef
define Build/Configure/Default
@(cd $(PKG_BUILD_DIR)/$(3); \
[ -x configure ] && \
+ $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/$(3)/ && \
$(2) \
CPPFLAGS="-I$(STAGING_DIR)/host/include" \
LDFLAGS="-L$(STAGING_DIR)/host/lib" \
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 16d9ae002..877fff833 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -77,6 +77,7 @@ CONFIGURE_CMD = ./configure
define Build/Configure/Default
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH)/$(strip $(3)); \
if [ -x $(CONFIGURE_CMD) ]; then \
+ $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/$(3)/ && \
$(CONFIGURE_VARS) \
$(2) \
$(CONFIGURE_CMD) \