From d83df882620ce3fb6a4a02dc2875c96471b59d89 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 6 Dec 2015 17:29:01 +0100 Subject: install config.sub and config.guess always We need it for toolchain components. Add latest config.sub/config.guess from upstream with a minor patch for sh2eb detection. --- mk/buildhlp.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mk/buildhlp.mk') diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk index cebdeb5b7..ae52fc132 100644 --- a/mk/buildhlp.mk +++ b/mk/buildhlp.mk @@ -81,6 +81,18 @@ ${WRKDIST}/.prepared: ${WRKDIST}/.extract_done [ ! -d ./src ] || (cd src; $(PREVENT_PATCH) cp -Rp . ${WRKDIST}/) \ $(MAKE_TRACE) @${MAKE} post-patch $(MAKE_TRACE) + # always use latest config.sub/config.guess from OpenADK scripts directory + cd ${WRKDIST}; \ + for i in $$(find . -name config.sub);do \ + if [ -f $$i ]; then \ + ${CP} ${SCRIPT_DIR}/config.sub $$i; \ + fi; \ + done; \ + for i in $$(find . -name config.guess);do \ + if [ -f $$i ]; then \ + ${CP} ${SCRIPT_DIR}/config.guess $$i; \ + fi; \ + done; touch $@ endif -- cgit v1.2.3