summaryrefslogtreecommitdiff
path: root/toolchain/libelf
diff options
context:
space:
mode:
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 \