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
commit6fb68cb589d76499f5da5902dd83c87722a228f5 (patch)
treedf1e4004cf474c4fbd4f56c39233484229e97ae3 /include
parent4374b417931687cc5ced776b92c69aa1f961246e (diff)
downloadupstream-6fb68cb589d76499f5da5902dd83c87722a228f5.tar.gz
upstream-6fb68cb589d76499f5da5902dd83c87722a228f5.tar.bz2
upstream-6fb68cb589d76499f5da5902dd83c87722a228f5.zip
use newer config.guess and config.sub for packages then the shipped ones
SVN-Revision: 7532
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) \