summaryrefslogtreecommitdiff
path: root/toolchain/libelf/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-25 09:48:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-25 09:48:24 +0200
commit5f591665d8c5000c85eb30737a9484655f3439c5 (patch)
treeb9a638c5e8f8e9990bb045d80d4a794b659fc6d9 /toolchain/libelf/Makefile
parentb6f9b99a95d9937dbb7d38cfc792f304af60d5b1 (diff)
workaround for libelf on Cygwin
Diffstat (limited to 'toolchain/libelf/Makefile')
-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 \