summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-05-06 13:50:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-05-06 13:50:56 +0200
commitae8b926761631638afe379ac6f083fd259ceff0d (patch)
treedc96e6cdce31577366f7cdf891d0051b9de8dbff /toolchain/binutils/Makefile
parent9f116a7e41e437095f9e689ddc0a67f9428ef311 (diff)
add toolchain support for raspberry pi
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 056aff065..98c92811e 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -12,6 +12,10 @@ else
CONFOPTS+= --disable-libssp
endif
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
+CONFOPTS+= --with-arch=armv6
+endif
+
ifneq ($(strip $(ADK_LINUX_64)$(ADK_TARGET_KERNEL64)),)
CONFOPTS+= --enable-64-bit-bfd
endif