summaryrefslogtreecommitdiff
path: root/target/config
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 /target/config
parent9f116a7e41e437095f9e689ddc0a67f9428ef311 (diff)
add toolchain support for raspberry pi
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/config/Config.in b/target/config/Config.in
index 8b88b0b49..796b55684 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -329,6 +329,9 @@ config ADK_TARGET_NO_FPU
config ADK_EABI
boolean
+config ADK_EABIHF
+ boolean
+
config ADK_LINUX_64
boolean
@@ -519,6 +522,7 @@ config ADK_TARGET_CFLAGS
default "-march=v32" if ADK_CPU_CRIS_V32
default "-march=v10" if ADK_CPU_CRIS_V10
default "-march=armv5te -mtune=iwmmxt" if ADK_CPU_XSCALE
+ default "-march=armv6 -mtune=arm1176jzf-s -mfloat-abi=hardfp -marm" if ADK_CPU_RASPBERRY_PI
config ADK_TARGET_CMDLINE
string
@@ -625,6 +629,7 @@ endchoice
config ADK_TARGET_SUFFIX
string
+ default "gnueabihf" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABIHF
default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI