aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-06-08 10:37:20 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-06-08 10:37:20 +0000
commitd442289f60548d0c33385edd723ba2eb61cd88c5 (patch)
treeba80515551107c8860d5c2ac631577ff60178762 /include
parent272253c061b99c6f5417a22a05752d687e716e50 (diff)
downloadupstream-d442289f60548d0c33385edd723ba2eb61cd88c5.tar.gz
upstream-d442289f60548d0c33385edd723ba2eb61cd88c5.tar.bz2
upstream-d442289f60548d0c33385edd723ba2eb61cd88c5.zip
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 b5c2a2203d..2950ec7217 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 16d9ae0027..877fff8338 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) \