diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-05-04 19:00:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-05-04 19:00:32 +0200 |
commit | 382f5f3f42c616bda2a35fd6a37554f99b74fb15 (patch) | |
tree | 420a34bb9b925ce21113eeeb9ed953c87edfe544 /target/config | |
parent | a9bcd98845d4454ce0f0a54c8cfb227dd911402f (diff) |
add a bunch of bfin cpu definitions for toolchains
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in | 11 | ||||
-rw-r--r-- | target/config/Config.in.cpu | 44 | ||||
-rw-r--r-- | target/config/Config.in.tc | 47 |
3 files changed, 90 insertions, 12 deletions
diff --git a/target/config/Config.in b/target/config/Config.in index a4c2f9dae..167efffac 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -41,15 +41,4 @@ config ADK_TARGET_KERNEL_CUSTOMISING depends on !ADK_TARGET_FIXED_KERNEL default y -choice -prompt "Toolchain options" -depends on ADK_TARGET_TOOLCHAIN -config ADK_TOOLCHAIN_ONLY - bool "Only build toolchain and selected packages" - -config ADK_TOOLCHAIN_ARCHIVE - bool "Build a complete system usable f.e. via chroot" - -endchoice - source "target/config/Config.in.tools" diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index cade126d3..049385501 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -61,6 +61,34 @@ config ADK_CPU_BFIN bool select ADK_TARGET_WITH_LT +config ADK_CPU_BF512 + bool + select ADK_TARGET_WITH_LT + +config ADK_CPU_BF514 + bool + select ADK_TARGET_WITH_LT + +config ADK_CPU_BF516 + bool + select ADK_TARGET_WITH_LT + +config ADK_CPU_BF518 + bool + select ADK_TARGET_WITH_LT + +config ADK_CPU_BF522 + bool + select ADK_TARGET_WITH_LT + +config ADK_CPU_BF523 + bool + select ADK_TARGET_WITH_LT + +config ADK_CPU_BF524 + bool + select ADK_TARGET_WITH_LT + config ADK_CPU_C6X bool select ADK_TARGET_WITH_LT @@ -378,6 +406,13 @@ config ADK_TARGET_GCC_ARCH config ADK_TARGET_CPU_FLAGS string + default "-mcpu=bf512" if ADK_CPU_BF512 + default "-mcpu=bf514" if ADK_CPU_BF514 + default "-mcpu=bf516" if ADK_CPU_BF516 + default "-mcpu=bf518" if ADK_CPU_BF518 + default "-mcpu=bf522" if ADK_CPU_BF522 + default "-mcpu=bf523" if ADK_CPU_BF523 + default "-mcpu=bf524" if ADK_CPU_BF524 default "-mcpu=v10" if ADK_CPU_CRIS_V10 default "-mcpu=v32" if ADK_CPU_CRIS_V32 default "-mcpu=v7.10.d" if ADK_CPU_MICROBLAZE @@ -386,6 +421,13 @@ config ADK_TARGET_CPU_TYPE string default "arc700" if ADK_TARGET_ARCH_ARC && ADK_CPU_ARC700 default "archs" if ADK_TARGET_ARCH_ARC && ADK_CPU_ARC_HS + default "bf512" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF512 + default "bf514" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF514 + default "bf516" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF516 + default "bf518" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF518 + default "bf522" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF522 + default "bf523" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF523 + default "bf524" if ADK_TARGET_ARCH_BFIN && ADK_CPU_BF524 default "cortex_a5" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A5 default "cortex_a7" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A7 default "cortex_a8" if ADK_TARGET_ARCH_ARM && ADK_CPU_CORTEX_A8 @@ -408,7 +450,7 @@ config ADK_TARGET_CPU_ARCH default "arc" if ADK_TARGET_ARCH_ARC && ADK_TARGET_LITTLE_ENDIAN default "arceb" if ADK_TARGET_ARCH_ARC && ADK_TARGET_BIG_ENDIAN default "avr32" if ADK_CPU_AVR32 - default "bfin" if ADK_CPU_BFIN + default "bfin" if ADK_TARGET_ARCH_BFIN default "c6x" if ADK_CPU_C6X default "cris" if ADK_CPU_CRIS_V10 default "crisv32" if ADK_CPU_CRIS_V32 diff --git a/target/config/Config.in.tc b/target/config/Config.in.tc index 0777282e9..22240d8d8 100644 --- a/target/config/Config.in.tc +++ b/target/config/Config.in.tc @@ -8,6 +8,7 @@ depends on ADK_TARGET_TOOLCHAIN && \ || ADK_TARGET_ARCH_AARCH64 \ || ADK_TARGET_ARCH_ARC \ || ADK_TARGET_ARCH_ARM \ + || ADK_TARGET_ARCH_BFIN \ || ADK_TARGET_ARCH_X86 ) config ADK_TARGET_CPU_ARC_ARC700 @@ -89,6 +90,41 @@ config ADK_TARGET_CPU_ARM_XSCALE select ADK_CPU_XSCALE depends on ADK_TARGET_ARCH_ARM +config ADK_TARGET_CPU_BFIN_BF512 + bool "bf512" + select ADK_CPU_BF512 + depends on ADK_TARGET_ARCH_BFIN + +config ADK_TARGET_CPU_BFIN_BF514 + bool "bf514" + select ADK_CPU_BF514 + depends on ADK_TARGET_ARCH_BFIN + +config ADK_TARGET_CPU_BFIN_BF516 + bool "bf516" + select ADK_CPU_BF516 + depends on ADK_TARGET_ARCH_BFIN + +config ADK_TARGET_CPU_BFIN_BF518 + bool "bf518" + select ADK_CPU_BF518 + depends on ADK_TARGET_ARCH_BFIN + +config ADK_TARGET_CPU_BFIN_BF522 + bool "bf522" + select ADK_CPU_BF522 + depends on ADK_TARGET_ARCH_BFIN + +config ADK_TARGET_CPU_BFIN_BF523 + bool "bf523" + select ADK_CPU_BF523 + depends on ADK_TARGET_ARCH_BFIN + +config ADK_TARGET_CPU_BFIN_BF524 + bool "bf524" + select ADK_CPU_BF524 + depends on ADK_TARGET_ARCH_BFIN + config ADK_TARGET_CPU_CRIS_V10 bool "cris v10" select ADK_CPU_CRIS_V10 @@ -125,3 +161,14 @@ config ADK_TARGET_CPU_X86_ATOM depends on ADK_TARGET_ARCH_X86 endchoice + +choice +prompt "Toolchain options" +depends on ADK_TARGET_TOOLCHAIN +config ADK_TOOLCHAIN_ONLY + bool "Only build toolchain and selected packages" + +config ADK_TOOLCHAIN_ARCHIVE + bool "Build a complete system usable f.e. via chroot" + +endchoice |