arch/bfin: internal backend not suitable for some cores
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 3 Sep 2017 09:22:19 +0000 (11:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 2 Oct 2017 19:41:53 +0000 (21:41 +0200)
Some cores are not supported by upstream gcc.

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.bfin
toolchain/Config.in

index 90e4ab97b0d10abc6f85219790430a7b8e61aafc..9ad2dd7ef41efeca2c66cdb8e292a2b9d1ae02fa 100644 (file)
@@ -6,12 +6,16 @@ choice
          Specify target CPU
 config BR2_bf606
        bool "bf606"
+       select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
 config BR2_bf607
        bool "bf607"
+       select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
 config BR2_bf608
        bool "bf608"
+       select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
 config BR2_bf609
        bool "bf609"
+       select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
 config BR2_bf512
        bool "bf512"
 config BR2_bf514
index 778063366520f44c5c82a79e2c6db194a891e1c2..bf1166b601b4037ae53c8ea73166c488dc8e83a7 100644 (file)
@@ -44,10 +44,6 @@ config BR2_TOOLCHAIN_BUILDROOT
        bool "Buildroot toolchain"
        select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
        depends on BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT
-       depends on !BR2_bf606
-       depends on !BR2_bf607
-       depends on !BR2_bf608
-       depends on !BR2_bf609
 
 config BR2_TOOLCHAIN_EXTERNAL
        bool "External toolchain"