toolchain/external: remove Sourcery Codebench MIPS toolchain
This toollchain is almost 10 years old now, and not maintained anymore. Let's therefore remove it from Buildroot. Newer maintained external toolchains for MIPS are still available from Bootlin Signed-off-by: Titouan Christophe <titouan.christophe@mind.be> [Romain: remove leftover link to binutils 2.27 bug 19908] Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
b07b0bb456
commit
4daac8b973
@@ -146,6 +146,13 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2025.11"
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
bool "Sourcery CodeBench MIPS external toolchain is deprecated"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Sourcery CodeBench MIPS 2016.05 is no longer maintained
|
||||
and has been removed from Buildroot.
|
||||
|
||||
config BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS
|
||||
bool "ev3dev Linux drivers have been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -5,7 +5,6 @@ config BR2_PACKAGE_EFIBOOTMGR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # efivar
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # efivar
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # efivar
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
select BR2_PACKAGE_EFIVAR
|
||||
select BR2_PACKAGE_POPT
|
||||
help
|
||||
@@ -21,4 +20,3 @@ comment "efibootmgr needs a toolchain w/ dynamic library, threads, headers >= 3.
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
|
||||
@@ -17,7 +17,6 @@ config BR2_PACKAGE_EFIVAR
|
||||
# don't have that header file renamed, and that is causing build
|
||||
# failures. So, prevent this package to be built using those
|
||||
# toolchains.
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
help
|
||||
Tools and libraries to manipulate EFI variables
|
||||
@@ -29,4 +28,3 @@ comment "efivar needs a toolchain w/ dynamic library, threads, headers >= 3.12,
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
|
||||
@@ -37,8 +37,6 @@ comment "alsa support needs a toolchain w/ threads"
|
||||
|
||||
config BR2_PACKAGE_FLUIDSYNTH_JACK2
|
||||
bool "jack2"
|
||||
# See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # jack2
|
||||
depends on BR2_USE_MMU # jack2
|
||||
depends on BR2_INSTALL_LIBSTDCPP # jack2
|
||||
@@ -51,7 +49,6 @@ config BR2_PACKAGE_FLUIDSYNTH_JACK2
|
||||
comment "jack support needs a toolchain w/ dynamic library, threads, C++"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -73,8 +70,6 @@ comment "portaudio support needs a toolchain w/ threads"
|
||||
|
||||
config BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
# See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC # pulseaudio
|
||||
depends on BR2_USE_WCHAR # pulseaudio
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
||||
@@ -86,7 +81,6 @@ config BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO
|
||||
|
||||
comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
|
||||
depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ config BR2_PACKAGE_MOKUTIL
|
||||
depends on BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU # keyutils
|
||||
depends on !BR2_STATIC_LIBS # efivar, keyutils
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS # efivar
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # efivar
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # efivar
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # efivar
|
||||
|
||||
@@ -12,7 +12,6 @@ config BR2_PACKAGE_SEDUTIL
|
||||
depends on BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # linux/nvme.h
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS # 4.4.1 headers
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
The Drive Trust Alliance Self Encrypting Drive Utility,
|
||||
@@ -23,7 +22,6 @@ config BR2_PACKAGE_SEDUTIL
|
||||
|
||||
comment "sedutil needs a toolchain w/ C++, gcc >= 4.8, headers >= 3.12"
|
||||
depends on BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
BR2_mips=y
|
||||
BR2_mips_32r2=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS=y
|
||||
@@ -1,5 +0,0 @@
|
||||
BR2_mips64el=y
|
||||
BR2_mips_64r2=y
|
||||
BR2_MIPS_NABI64=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS=y
|
||||
@@ -64,5 +64,3 @@ support/config-fragments/autobuild/br-xtensa-full-internal.config,any
|
||||
support/config-fragments/autobuild/linaro-aarch64.config,x86
|
||||
support/config-fragments/autobuild/linaro-aarch64-be.config,x86
|
||||
support/config-fragments/autobuild/linaro-arm.config,x86
|
||||
support/config-fragments/autobuild/sourcery-mips64.config,x86
|
||||
support/config-fragments/autobuild/sourcery-mips.config,x86
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 1 and column 26.
|
@@ -26,9 +26,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
|
||||
# ARM big-endian
|
||||
source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in"
|
||||
|
||||
# MIPS
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in"
|
||||
|
||||
# Bootlin toolchains, available for virtually all architectures
|
||||
source "toolchain/toolchain-external/toolchain-external-bootlin/Config.in"
|
||||
|
||||
@@ -123,9 +120,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.opt
|
||||
# ARM big-endian
|
||||
source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options"
|
||||
|
||||
# MIPS
|
||||
source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options"
|
||||
|
||||
# Bootlin toolchains
|
||||
source "toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options"
|
||||
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
bool "Sourcery CodeBench MIPS 2016.05"
|
||||
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
depends on BR2_MIPS_CPU_MIPS32R2 || BR2_MIPS_CPU_MIPS64R2
|
||||
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
|
||||
# Unsupported MIPS cores
|
||||
depends on !BR2_mips_interaptiv
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
depends on !BR2_MIPS_NABI32
|
||||
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
|
||||
select BR2_TOOLCHAIN_HAS_SSP
|
||||
select BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
select BR2_TOOLCHAIN_HAS_OPENMP
|
||||
select BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_HOSTARCH_NEEDS_IA32_LIBS
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
|
||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
help
|
||||
Sourcery CodeBench toolchain for the MIPS architecture, from
|
||||
Mentor Graphics. It uses gcc 5.3, binutils 2.25.51, glibc
|
||||
2.23, uClibc 0.9.30 and gdb 7.10.50, kernel headers 4.4.1. It
|
||||
has support for the following variants:
|
||||
- MIPS32r2 - Big-Endian, 2008 NaN, O32
|
||||
Select MIPS (big endian) core
|
||||
Disable BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mnan=2008
|
||||
- MIPS32r2 - Big-Endian, O32
|
||||
Select MIPS (big endian) core
|
||||
Disable BR2_SOFT_FLOAT
|
||||
- MIPS32r2 - Big-Endian, O32, MIPS16
|
||||
Select MIPS (big endian) core
|
||||
Disable BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mips16
|
||||
- MIPS32r2 - Big-Endian, Soft-Float, O32
|
||||
Select MIPS (big endian) core
|
||||
Select BR2_SOFT_FLOAT
|
||||
- MIPS32r2 - Big-Endian, Soft-Float, O32, MIPS16
|
||||
Select MIPS (big endian) core
|
||||
Select BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mips16
|
||||
- MIPS32r2 - Little-Endian, 2008 NaN, O32
|
||||
Select MIPS (little endian) core
|
||||
Disable BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mnan=2008
|
||||
- MIPS32r2 - Little-Endian, O32
|
||||
Select MIPS (little endian) core
|
||||
Disable BR2_SOFT_FLOAT
|
||||
- MIPS32r2 - Little-Endian, O32, MIPS16
|
||||
Select MIPS (little endian) core
|
||||
Disable BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mips16
|
||||
- MIPS32r2 - Little-Endian, Soft-Float, O32
|
||||
Select MIPS (little endian) core
|
||||
Select BR2_SOFT_FLOAT
|
||||
- MIPS32r2 - Little-Endian, Soft-Float, O32, MIPS16
|
||||
Select MIPS (little endian) core
|
||||
Select BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mips16
|
||||
- MIPS32r2 - Little-Endian, Soft-Float, O32, microMIPS
|
||||
Select MIPS (little endian) core
|
||||
Select BR2_SOFT_FLOAT
|
||||
Set BR2_TARGET_OPTIMIZATION to -mmicromips
|
||||
- MIPS32r2 - uClibc, Big-Endian, 2008 NaN, O32
|
||||
Not usable in Buildroot yet.
|
||||
- MIPS32r2 - uClibc, Big-Endian, O32
|
||||
Not usable in Buildroot yet.
|
||||
- MIPS32r2 - uClibc, Big-Endian, Soft-Float, O32
|
||||
Not usable in Buildroot yet.
|
||||
- MIPS32r2 - uClibc, Little-Endian, 2008 NaN, O32
|
||||
Not usable in Buildroot yet.
|
||||
- MIPS32r2 - uClibc, Little-Endian, O32
|
||||
Not usable in Buildroot yet.
|
||||
- MIPS32r2 - uClibc, Little-Endian, Soft-Float, O32
|
||||
Not usable in Buildroot yet.
|
||||
- MIPS64r2 - Big-Endian, N64
|
||||
Select MIPS64 (big endian) core
|
||||
Select the n64 ABI
|
||||
Disable BR2_SOFT_FLOAT
|
||||
- MIPS64r2 - Big-Endian, Soft-Float, N64
|
||||
Select MIPS64 (big endian) core
|
||||
Select the n64 ABI
|
||||
Select BR2_SOFT_FLOAT
|
||||
- MIPS64r2 - Little-Endian, N64
|
||||
Select MIPS64 (little endian) core
|
||||
Select the n64 ABI
|
||||
Disable BR2_SOFT_FLOAT
|
||||
- MIPS64r2 - Little-Endian, Soft-Float, N64
|
||||
Select MIPS64 (little endian) core
|
||||
Select the n64 ABI
|
||||
Select BR2_SOFT_FLOAT
|
||||
|
||||
comment "Sourcery CodeBench toolchains are only available for MIPS/MIPS64 o32 and n64"
|
||||
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
|
||||
depends on BR2_MIPS_NABI32
|
||||
@@ -1,9 +0,0 @@
|
||||
if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
||||
default "mips-linux-gnu"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
|
||||
default "toolchain-external-codesourcery-mips"
|
||||
|
||||
endif
|
||||
@@ -1,3 +0,0 @@
|
||||
# Locally computed
|
||||
sha256 d354447c4c5160439dafd5464fa3a0266dd41e79f973477238e4f0215a6b5397 mips-2016.05-8-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
|
||||
sha256 2658e55d5b71bba25d6f77e868e18b200ea5f75c8add7ed3a9266e716d9adfff mips-2016.05-8-mips-linux-gnu.src.tar.bz2
|
||||
@@ -1,13 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# toolchain-external-codesourcery-mips
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION = 2016.05-8
|
||||
|
||||
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SITE = https://sourcery.mentor.com/public/gnu_toolchain/$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_SOURCE = mips-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX)-i686-pc-linux-gnu.tar.bz2
|
||||
TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_ACTUAL_SOURCE_TARBALL = mips-$(TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS_VERSION)-$(TOOLCHAIN_EXTERNAL_PREFIX).src.tar.bz2
|
||||
|
||||
$(eval $(toolchain-external-package))
|
||||
Reference in New Issue
Block a user