summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-31 12:09:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-31 12:09:46 +0200
commit96e02f728fe6d396d81cf2267563c54f8ea95a77 (patch)
tree98c8f6ec48919550dfb9702c3696d5d02671ff02 /target/config
parent48d6cb7f6d711aaf6dbb043d98720550adc354a2 (diff)
add support for bfin toolchain creation
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/config/Config.in.toolchain49
2 files changed, 53 insertions, 0 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index ed612b9df..4745e343d 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -110,6 +110,9 @@ config ADK_CPU_ARMV8
config ADK_CPU_CF_5208
boolean
+config ADK_CPU_BFIN
+ boolean
+
config ADK_TARGET_CPU_ARCH
string
default "aarch64" if ADK_LINUX_AARCH64 && ADK_little
@@ -118,6 +121,7 @@ config ADK_TARGET_CPU_ARCH
default "armv6" if ADK_LINUX_ARM && ADK_little && ADK_armv6
default "armv7a" if ADK_LINUX_ARM && ADK_little && ADK_armv7a
default "arm" if ADK_LINUX_ARM && ADK_little
+ default "bfin" if ADK_CPU_BFIN
default "i486" if ADK_CPU_I486
default "i586" if ADK_CPU_I586
default "i686" if ADK_CPU_I686
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 53462ad47..ca9a8a05c 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -145,4 +145,53 @@ config ADK_UCLIBC_TEST
depends on ADK_TARGET_LIB_UCLIBC_NG || ADK_TARGET_LIB_UCLIBC
default y
+choice
+prompt "GCC version"
+depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
+
+config ADK_TOOLCHAIN_GCC_4_5_4
+ prompt "4.5.4"
+ boolean
+ depends on ADK_LINUX_BFIN
+
+config ADK_TOOLCHAIN_GCC_4_8_3
+ prompt "4.8.3"
+ boolean
+ depends on !ADK_LINUX_BFIN
+
+config ADK_TOOLCHAIN_GCC_4_9_1
+ prompt "4.9.1"
+ boolean
+ depends on !ADK_LINUX_BFIN
+
+config ADK_TOOLCHAIN_GCC_GIT
+ prompt "git"
+ boolean
+ select ADK_DISABLE_CHECKSUM
+ depends on !ADK_LINUX_BFIN
+
+endchoice
+
+choice
+prompt "Binutils version"
+depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
+
+config ADK_TOOLCHAIN_BINUTILS_2_22
+ prompt "2.22"
+ boolean
+ depends on ADK_LINUX_BFIN
+
+config ADK_TOOLCHAIN_BINUTILS_2_24
+ prompt "2.24"
+ boolean
+ depends on !ADK_LINUX_BFIN
+
+config ADK_TOOLCHAIN_BINUTILS_GIT
+ prompt "git"
+ boolean
+ select ADK_DISABLE_CHECKSUM
+ depends on !ADK_LINUX_BFIN
+
+endchoice
+
endmenu