diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 17:29:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-06 17:30:14 +0100 |
commit | d83df882620ce3fb6a4a02dc2875c96471b59d89 (patch) | |
tree | 6f3ff366f931f1598519f2517868aa7e03297df2 /mk/buildhlp.mk | |
parent | 8d27683011689b3a72b8ab18ed0e2b359a40570f (diff) |
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.
Diffstat (limited to 'mk/buildhlp.mk')
-rw-r--r-- | mk/buildhlp.mk | 12 |
1 files changed, 12 insertions, 0 deletions
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 |