summaryrefslogtreecommitdiff
path: root/toolchain/libelf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-17 07:27:01 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-12-17 07:27:01 +0100
commita07e197d7552bed16d7c9bf428d4a43a3f458a23 (patch)
treeda39ede4c33e62e1124ffd15d27c41cbe1c1f64c /toolchain/libelf
parent753383bdf29033a1c7244e31c42c2f5d9906010f (diff)
parentf91c0a6d288596bf002df4f750ab77e0c241e924 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/libelf')
-rw-r--r--toolchain/libelf/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/libelf/Makefile b/toolchain/libelf/Makefile
index dbb0b9fb8..4d1b81164 100644
--- a/toolchain/libelf/Makefile
+++ b/toolchain/libelf/Makefile
@@ -12,6 +12,17 @@ endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
+ @cd ${WRKBUILD}; \
+ 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;
(cd $(WRKBUILD); \
$(WRKBUILD)/configure \
--prefix=$(STAGING_HOST_DIR)/usr \