openblas: P5600 and I6400 cores only available for Codescape toolchains
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Mon, 18 Jul 2016 12:05:39 +0000 (13:05 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Aug 2016 21:54:07 +0000 (23:54 +0200)
These two MIPS cores are built with MSA support (-mmsa) which is
currently in GCC trunk. The only toolchains that support it right now
are Codescape MTI and Codescape IMG from Imagination Technologies.

Fixes:
  http://autobuild.buildroot.net/results/af5/af5e9f10287aaf9b9be6228ad7d12b2d926f8051/
  http://autobuild.buildroot.net/results/b20/b201e4072b0b634d5ac86781aee24c698f88d689/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openblas/Config.in

index 51afaec3cb6f5ece1d3c84560d39bc431b80b02a..e79b611cbdde9b6f1b3fc80188d16382715f4cab 100644 (file)
@@ -26,9 +26,11 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
        default "PPC970"       if BR2_powerpc_970
        default "PPC440"       if BR2_powerpc_440
        default "PPC440FP2"    if BR2_powerpc_440fp
-       default "P5600"        if BR2_mips_32r2
+       # P5600 is built with MSA support which is only available in Codescape toolchains
+       default "P5600"        if BR2_mips_32r2 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
        default "SICORTEX"     if BR2_mips_64
-       default "I6400"        if BR2_mips_64r6
+       # I6400 is built with MSA support which is only available in Codescape toolchains
+       default "I6400"        if BR2_mips_64r6 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
        default "SPARC"        if BR2_sparc
        default "CORTEXA15"    if BR2_cortex_a15
        default "CORTEXA9"     if BR2_cortex_a9