arch: disable nios2

The nios2 architecture was deprecated in gcc-14 and has been removed
in the upcoming gcc-15 [1][2].

Our last and only nios2 defconfig "qemu_nios2_10m50_defconfig" was
removed in 2024.11 due to nios2 removal from Qemu 9.1.0 [3].

This patch only definitively hides the symbol. When all references
to it are removed (to come in followup patches), we'll eventually
remove the symbol altogether.

[1] https://sourceware.org/pipermail/binutils/2024-April/133675.html
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153
[3] f96b4c176f

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Romain Naour
2025-01-09 00:05:15 +01:00
committed by Julien Olivain
parent 8fe1935fcc
commit 3cc2fef0d2
2 changed files with 1 additions and 1 deletions

View File

@@ -12,7 +12,6 @@ BR2_i386=y
# BR2_m68k is not set
# BR2_mips is not set
# BR2_mipsel is not set
# BR2_nios2 is not set
# BR2_powerpc is not set
# BR2_sh is not set
# BR2_sparc is not set

View File

@@ -145,6 +145,7 @@ config BR2_mips64el
config BR2_nios2
bool "Nios II"
depends on BR2_BROKEN
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
select BR2_USE_MMU
help