Skip to content

Commit

Permalink
arch/nios2: drop architecture
Browse files Browse the repository at this point in the history
The nios2 architecture was deprecated in gcc-14 and has been removed
in the upcoming gcc-15 [1][2].

This commit removes nios2 from the architecture entry.

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

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
  • Loading branch information
RomainNaour authored and jolivain committed Jan 15, 2025
1 parent a24bb5f commit 6775ccc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 31 deletions.
2 changes: 0 additions & 2 deletions Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -808,8 +808,6 @@ config BR2_PIC_PIE_ARCH_SUPPORTS
default y
# Microblaze glibc toolchains don't work with PIC/PIE enabled
depends on !BR2_microblaze
# Nios2 toolchains produce non working binaries with -fPIC
depends on !BR2_nios2

config BR2_PIC_PIE
bool "Build code with PIC/PIE"
Expand Down
7 changes: 7 additions & 0 deletions Config.in.legacy
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ endif

comment "Legacy options removed in 2025.02"

config BR2_nios2
bool "nios2 architecture removed"
select BR2_LEGACY
help
The nios2 architecture was removed, by lack of toolchain
support.

config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE
bool "Bootlin nios2 glibc bleeding-edge toolchain removed"
select BR2_LEGACY
Expand Down
1 change: 0 additions & 1 deletion DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,6 @@ F: package/tcf-agent/
N: Ezequiel Garcia <[email protected]>
F: board/ci20/
F: configs/ci20_defconfig
F: arch/Config.in.nios2
F: package/fio/
F: package/iptraf-ng/
F: package/jimtcl/
Expand Down
14 changes: 0 additions & 14 deletions arch/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,6 @@ config BR2_mips64el
http://www.mips.com/
http://en.wikipedia.org/wiki/MIPS_Technologies

config BR2_nios2
bool "Nios II"
depends on BR2_BROKEN
select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
select BR2_USE_MMU
help
Nios II is a soft core processor from Altera Corporation.
http://www.altera.com/
http://en.wikipedia.org/wiki/Nios_II

config BR2_or1k
bool "OpenRISC"
select BR2_USE_MMU
Expand Down Expand Up @@ -395,10 +385,6 @@ if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el
source "arch/Config.in.mips"
endif

if BR2_nios2
source "arch/Config.in.nios2"
endif

if BR2_or1k
source "arch/Config.in.or1k"
endif
Expand Down
14 changes: 0 additions & 14 deletions arch/Config.in.nios2

This file was deleted.

0 comments on commit 6775ccc

Please sign in to comment.