2013-05-02 18:39:35 -06:00
|
|
|
choice
|
|
|
|
prompt "Target CPU"
|
|
|
|
depends on BR2_bfin
|
|
|
|
default BR2_bf609
|
|
|
|
help
|
|
|
|
Specify target CPU
|
|
|
|
config BR2_bf606
|
|
|
|
bool "bf606"
|
|
|
|
config BR2_bf607
|
|
|
|
bool "bf607"
|
|
|
|
config BR2_bf608
|
|
|
|
bool "bf608"
|
|
|
|
config BR2_bf609
|
|
|
|
bool "bf609"
|
|
|
|
config BR2_bf512
|
|
|
|
bool "bf512"
|
|
|
|
config BR2_bf514
|
|
|
|
bool "bf514"
|
|
|
|
config BR2_bf516
|
|
|
|
bool "bf516"
|
|
|
|
config BR2_bf518
|
|
|
|
bool "bf518"
|
|
|
|
config BR2_bf522
|
|
|
|
bool "bf522"
|
|
|
|
config BR2_bf523
|
|
|
|
bool "bf523"
|
|
|
|
config BR2_bf524
|
|
|
|
bool "bf524"
|
|
|
|
config BR2_bf525
|
|
|
|
bool "bf525"
|
|
|
|
config BR2_bf526
|
|
|
|
bool "bf526"
|
|
|
|
config BR2_bf527
|
|
|
|
bool "bf527"
|
|
|
|
config BR2_bf531
|
|
|
|
bool "bf531"
|
|
|
|
config BR2_bf532
|
|
|
|
bool "bf532"
|
|
|
|
config BR2_bf533
|
|
|
|
bool "bf533"
|
|
|
|
config BR2_bf534
|
|
|
|
bool "bf534"
|
|
|
|
config BR2_bf536
|
|
|
|
bool "bf536"
|
|
|
|
config BR2_bf537
|
|
|
|
bool "bf537"
|
|
|
|
config BR2_bf538
|
|
|
|
bool "bf538"
|
|
|
|
config BR2_bf539
|
|
|
|
bool "bf539"
|
|
|
|
config BR2_bf542
|
|
|
|
bool "bf542"
|
|
|
|
config BR2_bf544
|
|
|
|
bool "bf544"
|
|
|
|
config BR2_bf547
|
|
|
|
bool "bf547"
|
|
|
|
config BR2_bf548
|
|
|
|
bool "bf548"
|
|
|
|
config BR2_bf549
|
|
|
|
bool "bf549"
|
|
|
|
config BR2_bf561
|
|
|
|
bool "bf561"
|
|
|
|
endchoice
|
|
|
|
|
arch: improve definition of gcc mtune, mcpu, etc.
As suggested by Yann E. Morin, there is a better way than our current
big Config.in.common to define the gcc mtune, mcpu, march,
etc. values. We can split the setting of those values in each
architecture file, which makes a lot more sense.
Therefore, the Config.in file now creates empty kconfig variables
BR2_ARCH, BR2_ENDIAN, BR2_GCC_TARGET_TUNE, BR2_GCC_TARGET_ARCH,
BR2_GCC_TARGET_ABI and BR2_GCC_TARGET_CPU. The values of those
variables are set by the individual Config.in.<arch> files. This is
possible because such files are now only conditionally included
depending on the top-level architecture that has been selected.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-14 20:53:48 -07:00
|
|
|
config BR2_ARCH
|
|
|
|
default "bfin"
|
|
|
|
|
|
|
|
config BR2_ENDIAN
|
2013-07-16 02:03:25 -06:00
|
|
|
default "LITTLE"
|
2013-05-02 18:39:35 -06:00
|
|
|
|
2014-08-17 13:29:53 -06:00
|
|
|
config BR2_ARCH_HAS_ATOMICS
|
|
|
|
default y
|
|
|
|
|
2013-05-02 18:39:35 -06:00
|
|
|
config BR2_GCC_TARGET_CPU
|
|
|
|
default bf606 if BR2_bf606
|
|
|
|
default bf607 if BR2_bf607
|
|
|
|
default bf608 if BR2_bf608
|
|
|
|
default bf609 if BR2_bf609
|
|
|
|
default bf512 if BR2_bf512
|
|
|
|
default bf514 if BR2_bf514
|
|
|
|
default bf516 if BR2_bf516
|
|
|
|
default bf518 if BR2_bf518
|
|
|
|
default bf522 if BR2_bf522
|
|
|
|
default bf523 if BR2_bf523
|
|
|
|
default bf524 if BR2_bf524
|
|
|
|
default bf525 if BR2_bf525
|
|
|
|
default bf526 if BR2_bf526
|
|
|
|
default bf527 if BR2_bf527
|
|
|
|
default bf531 if BR2_bf531
|
|
|
|
default bf532 if BR2_bf532
|
|
|
|
default bf533 if BR2_bf533
|
|
|
|
default bf534 if BR2_bf534
|
|
|
|
default bf536 if BR2_bf536
|
|
|
|
default bf537 if BR2_bf537
|
|
|
|
default bf538 if BR2_bf538
|
|
|
|
default bf539 if BR2_bf539
|
|
|
|
default bf542 if BR2_bf542
|
|
|
|
default bf544 if BR2_bf544
|
|
|
|
default bf547 if BR2_bf547
|
|
|
|
default bf548 if BR2_bf548
|
|
|
|
default bf549 if BR2_bf549
|
|
|
|
default bf561 if BR2_bf561
|
2013-05-02 18:39:36 -06:00
|
|
|
|
|
|
|
config BR2_GCC_TARGET_CPU_REVISION
|
|
|
|
string "Target CPU revision"
|
|
|
|
help
|
|
|
|
Specify a target CPU revision, which will be appended to the
|
|
|
|
value of the -mcpu option. For example, if the selected CPU is
|
|
|
|
bf609, and then selected CPU revision is "0.0", then gcc will
|
|
|
|
receive the -mcpu=bf609-0.0 option.
|