bfin: default to bf532, disable bf6xx for internal toolchain
PATCH 1/1 bfin: default to bf532, disable bf6xx for internal toolchain
The default Blackfin processor in Buildroot isn't supported by gcc 6.1.0, so use bf532 as default. Disable any bf6xx processors for internal toolchain users.
Signed-off-by Waldemar Brodkorb <[email protected]>
--- arch/Config.in.bfin | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
arch/Config.in.bfin +5 -1
@@ -1,17 +1,21 @@ choice prompt "Target CPU" depends on BR2_bfin - default BR2_bf609 + default BR2_bf532 help Specify target CPU config BR2_bf606 bool "bf606" + depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf607 bool "bf607" + depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf608 bool "bf608" + depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf609 bool "bf609" + depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf512 bool "bf512" config BR2_bf514
Signature · 1 line
2.1.4
PATCH 1/1 bfin: default to bf532, disable bf6xx for internal toolchain
Hello,
Quoted 14 lines · Waldemar Brodkorb
arch/Config.in.bfin +1
-1@@ -1,17 +1,21 @@ choice prompt "Target CPU" depends on BR2_bfin - default BR2_bf609 + default BR2_bf532 help Specify target CPU config BR2_bf606 bool "bf606"
arch/Config.in.bfin line 18
Quoted 10 lines
arch/Config.in.bfin +4
-0+ depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf607 bool "bf607" + depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf608 bool "bf608" + depends on BR2_TOOLCHAIN_EXTERNAL config BR2_bf609 bool "bf609" + depends on BR2_TOOLCHAIN_EXTERNAL
No, we want the dependency the other way around. Since the user selects first the Target Architecture, and then the toolchain, it is a lot more logical to not show the internal toolchain backend when the selected Blackfin core is not supported by the internal backend.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com