summaryrefslogtreecommitdiff
path: root/toolchain/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-15 10:05:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-15 10:05:46 +0200
commit47e410981184016a6ab4c58fdfc9449e2fd945e7 (patch)
treee279669cc8f7976f9e661fbebade152978e6f1c6 /toolchain/binutils
parentf7712ed524e8811fedee86d7b829c2f2e27dc38b (diff)
add support for xtensa architecture, tested with qemu. thanks to Max Filippov for help
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 80565bc17..9edf001cd 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -40,6 +40,10 @@ endif
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
+ifeq ($(ADK_LINUX_XTENSA),y)
+ tar xf $(TOPDIR)/target/xtensa/overlay/xtensa_dc232b.tar \
+ --strip-components=1 -C $(WRKSRC) binutils
+endif
(cd $(WRKBUILD); \
$(WRKBUILD)/configure \
--prefix=$(TOOLCHAIN_DIR)/usr \