gcc: nios2: Prevent selecting unsupported versions
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Tue, 17 Feb 2015 16:26:55 +0000 (13:26 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 19 Feb 2015 21:04:26 +0000 (22:04 +0100)
Versions older than GCC v4.9 do not support the Nios-II architecture
so disable them.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/Config.in.host

index 567f66afb348de827ee4b99360e8b270088d9eb3..dd61f51a96f0c6448be813e16c42f0a1b7c090e1 100644 (file)
@@ -19,7 +19,7 @@ choice
                bool "gcc 4.5.x"
                # Broken or unsupported architectures
                depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
-                       && !BR2_powerpc64le
+                       && !BR2_powerpc64le && !BR2_nios2
                # Broken or unsupported ARM cores
                depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
                        !BR2_cortex_a15 && !BR2_fa526 && !BR2_pj4
@@ -40,7 +40,7 @@ choice
                bool "gcc 4.7.x"
                # Broken or unsupported architectures
                depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
-                       && !BR2_bfin && !BR2_powerpc64le
+                       && !BR2_bfin && !BR2_powerpc64le && !BR2_nios2
                # Broken or unsupported ARM cores
                depends on !BR2_cortex_a12 && !BR2_pj4
                # Broken or unsupported PPC cores
@@ -56,7 +56,7 @@ choice
                bool "gcc 4.8.x"
                # Broken or unsupported architectures
                depends on !BR2_microblaze && !BR2_arc \
-                       && !BR2_bfin && !BR2_powerpc64le
+                       && !BR2_bfin && !BR2_powerpc64le && !BR2_nios2
                # Broken or unsupported ARM cores
                depends on !BR2_cortex_a12
                # Broken or unsupported PPC cores