toolchain/external: commonalise comments about Linaro toolchains
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 20 Sep 2015 21:45:49 +0000 (23:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 17:33:57 +0000 (18:33 +0100)
Those two comments:
  - are exactly the same
  - have the same dependencies (except for arm/armeb)

So, make it a common comment. It will be useful to have that comment
when we introduce new Linaro toolchain versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/Config.in

index c252d3f6a3d18c61bd4596f14f676b297b1d296b..1bf97b8beee1bd9c3a1d79e172139806516bd28e 100644 (file)
@@ -6,6 +6,11 @@ choice
 comment "(e)glibc toolchains only available with shared lib support"
        depends on BR2_STATIC_LIBS
 
+comment "Linaro toolchains available for Cortex-A + EABIhf"
+       depends on BR2_arm || BR2_armeb
+       depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
+       depends on !BR2_STATIC_LIBS
+
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
        bool "Linaro ARM 2014.09"
        depends on BR2_arm
@@ -28,11 +33,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
          with the hard floating point calling convention, and uses
          the VFPv3-D16 FPU instructions.
 
-comment "Linaro toolchains available for Cortex-A + EABIhf"
-       depends on BR2_arm
-       depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
-       depends on !BR2_STATIC_LIBS
-
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
        bool "Linaro armeb 2014.09"
        depends on BR2_armeb
@@ -55,11 +55,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
          generated is Thumb 2, with the hard floating point calling
          convention, and uses the VFPv3-D16 FPU instructions.
 
-comment "Linaro toolchains available for Cortex-A + EABIhf"
-       depends on BR2_armeb
-       depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
-       depends on !BR2_STATIC_LIBS
-
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
        bool "Sourcery CodeBench ARM 2014.05"
        depends on BR2_arm