mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 00:03:39 +08:00
eda11417be
Setting BR2_GCC_TARGET_ARCH is possible, but breaks external toolchain users. m68k/cf defconfigs just working without it. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
38 lines
643 B
Plaintext
38 lines
643 B
Plaintext
config BR2_ARCH
|
|
default "m68k" if BR2_m68k
|
|
|
|
config BR2_ENDIAN
|
|
default "BIG"
|
|
|
|
# symbols used to distinguish between m68k and coldfire
|
|
# for gcc multilib
|
|
config BR2_m68k_m68k
|
|
bool
|
|
|
|
config BR2_m68k_cf
|
|
bool
|
|
|
|
# coldfire variants will be added later
|
|
choice
|
|
prompt "Target CPU"
|
|
depends on BR2_m68k
|
|
default BR2_m68k_68040
|
|
help
|
|
Specific CPU variant to use
|
|
|
|
config BR2_m68k_68040
|
|
bool "68040"
|
|
select BR2_m68k_m68k
|
|
select BR2_ARCH_HAS_MMU_MANDATORY
|
|
|
|
config BR2_m68k_cf5208
|
|
bool "5208"
|
|
select BR2_m68k_cf
|
|
select BR2_SOFT_FLOAT
|
|
|
|
endchoice
|
|
|
|
config BR2_GCC_TARGET_CPU
|
|
default "68040" if BR2_m68k_68040
|
|
default "5208" if BR2_m68k_cf5208
|