]> Git Repo - buildroot-mgba.git/commitdiff
toolchain: drop codescape mips toolchains
authorFabrice Fontaine <[email protected]>
Sun, 17 Mar 2024 12:51:32 +0000 (13:51 +0100)
committerArnout Vandecappelle <[email protected]>
Sun, 17 Mar 2024 21:32:25 +0000 (22:32 +0100)
Codescape mips toolchains are old (2018) and use glibc 2.20 which is not
compatible with 64-bit time_t raising the following build failure with
libselinux since commit 1c2dbcdcf0bb589d325c379246acaa39bb07b7be:

In file included from selinux_restorecon.c:17:0:
/home/buildroot/autobuild/instance-1/output-1/host/mipsel-buildroot-linux-gnu/sysroot/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
 # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
   ^~~~~

Fixes: 1c2dbcdcf0bb589d325c379246acaa39bb07b7be
 - http://autobuild.buildroot.org/results/a4d38af627a42a2c55d60129787c51353d5883bf

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Config.in.legacy
package/openblas/Config.in
toolchain/toolchain-external/Config.in
toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash [deleted file]
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk [deleted file]

index 5aaaae0eec505177cef0ae9fbb4646def8008774..1d3dc8b5c8af73b4b69492ac7884e7c2883a1d5e 100644 (file)
@@ -146,8 +146,22 @@ endif
 
 comment "Legacy options removed in 2024.05"
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
+       bool "Codescape IMG GNU Linux Toolchain 2018.09 has been removed"
+       select BR2_LEGACY
+       help
+         The Codescape IMG GNU Linux toolchain has been removed, use a
+         Bootlin toolchain instead.
+
+config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
+       bool "Codescape MTI GNU Linux Toolchain 2018.09 has been removed"
+       select BR2_LEGACY
+       help
+         The Codescape MTI GNU Linux toolchain has been removed, use a
+         Bootlin toolchain instead.
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
-       bool "CodeSourcery AArch64 2014.11"
+       bool "CodeSourcery AArch64 2014.11 has been removed"
        select BR2_LEGACY
        help
          The Sourcery CodeBench AArch64 toolchain has been removed,
index 74c4a3aa5cc0e54080178167c22635475bdf7a38..7d4727003b5bcc58453d76e62aba52ec8d348b70 100644 (file)
@@ -26,11 +26,7 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
        default "PPC970"          if BR2_powerpc_970
        default "PPC440"          if BR2_powerpc_440
        default "PPC440FP2"       if BR2_powerpc_440fp
-       # P5600 is built with MSA support which is only available in Codescape toolchains
-       default "P5600"           if BR2_mips_p5600 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
        default "MIPS64_GENERIC"  if BR2_MIPS_CPU_MIPS64
-       # I6400 is built with MSA support which is only available in Codescape toolchains
-       default "I6400"           if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
        # OpenBLAS assumes SPARC=Sparc v9
        default "SPARC"           if BR2_sparc_v9
        # Cortex-A15 always have a VFPv4
index b5432b71d7d206dcbe440d361cc7b54a8c5e6e62..af9082cf6ebbf26fd5d6cb219817c0a24494a146 100644 (file)
@@ -26,10 +26,8 @@ source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
 # ARM big-endian
 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in"
 
-# MIPS (use codesourcery toolchain by default)
+# MIPS
 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in"
-source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in"
-source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in"
 
 # NIOSII
 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
@@ -130,8 +128,6 @@ source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.o
 
 # MIPS
 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options"
-source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options"
-source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options"
 
 # NIOSII
 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in b/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in
deleted file mode 100644 (file)
index d49c610..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
-       bool "Codescape IMG GNU Linux Toolchain 2018.09"
-       depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
-       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
-       depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-       depends on BR2_MIPS_CPU_MIPS32R6 || (BR2_MIPS_CPU_MIPS64R6 && !BR2_MIPS_SOFT_FLOAT)
-       select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-       select BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER
-       select BR2_INSTALL_LIBSTDCPP
-       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
-       select BR2_TOOLCHAIN_GCC_AT_LEAST_6
-       select BR2_TOOLCHAIN_HAS_FORTRAN
-       select BR2_TOOLCHAIN_HAS_OPENMP
-       help
-         Codescape IMG GNU Linux Toolchain 2018.09 for the MIPS
-         architecture, from MIPS Tech LLC. It uses gcc 6.3.0,
-         binutils 2.28.51, glibc 2.20, gdb 7.9.1 and kernel headers
-         4.7. It has support for the following variants:
-           - MIPS32r6 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI
-             Select 'MIPS (big endian)' Target Architecture
-             Select 'mips 32r6' Target Architecture Variant
-             Disable 'Use soft-float'
-           - MIPS32r6 - Big-Endian, Soft-Float, 2008 NaN, o32 ABI
-             Select 'MIPS (big endian)' Target Architecture
-             Select 'mips 32r6' Target Architecture Variant
-             Enable 'Use soft-float'
-           - MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r6' Target Architecture Variant
-             Disable 'Use soft-float'
-           - MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r6' Target Architecture Variant
-             Enable 'Use soft-float'
-           - MIPS32r6 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI,
-             microMIPS
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r6' Target Architecture Variant
-             Disable 'Use soft-float'
-             Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
-           - MIPS32r6 - Little-Endian, Soft-Float, 2008 NaN, o32 ABI,
-             microMIPS
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r6' Target Architecture Variant
-             Enable 'Use soft-float'
-             Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
-           - MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n32 ABI
-             Select 'MIPS64 (big endian)' Target Architecture
-             Select 'mips 64r6' Target Architecture Variant
-             Select 'n32' Target ABI
-             Disable 'Use soft-float'
-           - MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n32 ABI
-             Select 'MIPS64 (little endian)' Target Architecture
-             Select 'mips 64r6' Target Architecture Variant
-             Select 'n32' Target ABI
-             Disable 'Use soft-float'
-           - MIPS64r6 - Big-Endian, Hard-Float, 2008 NaN, n64 ABI
-             Select 'MIPS64 (big endian)' Target Architecture
-             Select 'mips 64r6' Target Architecture Variant
-             Select 'n64' Target ABI
-             Disable 'Use soft-float'
-           - MIPS64r6 - Little-Endian, Hard-Float, 2008 NaN, n64 ABI
-             Select 'MIPS64 (little endian)' Target Architecture
-             Select 'mips 64r6' Target Architecture Variant
-             Select 'n64' Target ABI
-             Disable 'Use soft-float'
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options b/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options
deleted file mode 100644 (file)
index 3eaa2a9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
-
-config BR2_TOOLCHAIN_EXTERNAL_PREFIX
-       default "mips-img-linux-gnu"
-
-config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
-       default "toolchain-external-codescape-img-mips"
-
-endif
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash b/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash
deleted file mode 100644 (file)
index 65e1861..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# Codescape toolchains from MIPS Tech LLC
-# From: https://codescape.mips.com/components/toolchain/nanomips/2018.09-02/downloads.html
-sha256  ac035f3b6a8767522977963d8e1490520d58bccca7956f4503a1eefff6492b71  Codescape.GNU.Tools.Package.2018.09-02.for.MIPS.IMG.Linux.CentOS-6.x86.tar.gz
-sha256  09280f4fcbb993607905bf9a43bf5f3db2beed85726f0675b8453e19a9ddc429  Codescape.GNU.Tools.Package.2018.09-02.for.MIPS.IMG.Linux.CentOS-6.x86_64.tar.gz
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk b/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk
deleted file mode 100644 (file)
index 5542491..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-################################################################################
-#
-# toolchain-external-codescape-img-mips
-#
-################################################################################
-
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_VERSION = 2018.09-02
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_SITE = https://codescape.mips.com/components/toolchain/$(TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_VERSION)
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_STRIP_COMPONENTS = 2
-
-ifeq ($(HOSTARCH),x86)
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_SOURCE = Codescape.GNU.Tools.Package.$(TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_VERSION).for.MIPS.IMG.Linux.CentOS-6.x86.tar.gz
-else
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_SOURCE = Codescape.GNU.Tools.Package.$(TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_VERSION).for.MIPS.IMG.Linux.CentOS-6.x86_64.tar.gz
-endif
-
-# Special fixup for Codescape MIPS toolchains, that have bin-<abi> and
-# sbin-<abi> directories. We create symlinks bin -> bin-<abi> and sbin
-# -> sbin-<abi> so that the rest of Buildroot can find the toolchain
-# tools in the appropriate location.
-ifeq ($(BR2_MIPS_OABI32),y)
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_BIN_DIR_SUFFIX = o32
-else ifeq ($(BR2_MIPS_NABI32),y)
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_BIN_DIR_SUFFIX = n32
-else ifeq ($(BR2_MIPS_NABI64),y)
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_BIN_DIR_SUFFIX = n64
-endif
-
-define TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_STAGING_FIXUPS
-       rmdir $(STAGING_DIR)/usr/bin $(STAGING_DIR)/usr/sbin
-       ln -sf bin-$(TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_BIN_DIR_SUFFIX) $(STAGING_DIR)/usr/bin
-       ln -sf sbin-$(TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_BIN_DIR_SUFFIX) $(STAGING_DIR)/usr/sbin
-endef
-
-# The Codescape toolchain uses a sysroot layout that places them
-# side-by-side instead of nested like multilibs. A symlink is needed
-# much like for the nested sysroots which are handled in
-# copy_toolchain_sysroot but there is not enough information in there
-# to determine whether the sysroot layout was nested or side-by-side.
-# Add the symlink here for now.
-define TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_SYMLINK
-       $(Q)ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))"; \
-       ARCH_SUBDIR=`basename $${ARCH_SYSROOT_DIR}`; \
-       ln -snf . $(STAGING_DIR)/$${ARCH_SUBDIR}
-endef
-
-TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_POST_INSTALL_STAGING_HOOKS += \
-       TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_STAGING_FIXUPS \
-       TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_SYMLINK
-
-$(eval $(toolchain-external-package))
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in b/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in
deleted file mode 100644 (file)
index 720d705..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
-       bool "Codescape MTI GNU Linux Toolchain 2018.09"
-       depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
-       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_7
-       depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-       depends on BR2_MIPS_CPU_MIPS32R2 || (BR2_MIPS_CPU_MIPS64R2 && !BR2_MIPS_SOFT_FLOAT)
-       select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-       select BR2_TOOLCHAIN_EXTERNAL_HAS_NO_GDBSERVER
-       select BR2_INSTALL_LIBSTDCPP
-       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
-       select BR2_TOOLCHAIN_GCC_AT_LEAST_6
-       select BR2_TOOLCHAIN_HAS_FORTRAN
-       select BR2_TOOLCHAIN_HAS_OPENMP
-       help
-         Codescape MTI GNU Linux Toolchain 2018.09 for the MIPS
-         architecture, from MIPS Tech LLC. It uses gcc 6.3.0,
-         binutils 2.28.51, glibc 2.20, gdb 7.9.1 and kernel headers
-         4.7. It has support for the following variants:
-           - MIPS32r2 - Big-Endian, Hard-Float, Legacy NaN, o32 ABI
-             Select 'MIPS (big endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Disable 'Use soft-float'
-           - MIPS32r2 - Big-Endian, Hard-Float, 2008 NaN, o32 ABI
-             Select 'MIPS (big endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Disable 'Use soft-float'
-             Set BR2_TARGET_OPTIMIZATION to '-mnan=2008'
-           - MIPS32r2 - Big-Endian, Soft-Float, Legacy NaN, o32 ABI
-             Select 'MIPS (big endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Enable 'Use soft-float'
-           - MIPS32r2 - Little-Endian, Hard-Float, Legacy NaN, o32 ABI
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Disable 'Use soft-float'
-           - MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Disable 'Use soft-float'
-             Set BR2_TARGET_OPTIMIZATION to '-mnan=2008'
-           - MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Enable 'Use soft-float'
-           - MIPS32r2 - Little-Endian, Hard-Float, 2008 NaN, o32 ABI,
-             microMIPS
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Enable 'Use soft-float'
-             Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
-           - MIPS32r2 - Little-Endian, Soft-Float, Legacy NaN, o32 ABI,
-             microMIPS
-             Select 'MIPS (little endian)' Target Architecture
-             Select 'mips 32r2' Target Architecture Variant
-             Disable 'Use soft-float'
-             Set BR2_TARGET_OPTIMIZATION to '-mmicromips'
-           - MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n32 ABI
-             Select 'MIPS64 (big endian)' Target Architecture
-             Select 'mips 64r2' Target Architecture Variant
-             Select 'n32' Target ABI
-             Disable 'Use soft-float'
-           - MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n32 ABI
-             Select 'MIPS64 (little endian)' Target Architecture
-             Select 'mips 64r2' Target Architecture Variant
-             Select 'n32' Target ABI
-             Disable 'Use soft-float'
-           - MIPS64r2 - Big-Endian, Hard-Float, Legacy NaN, n64 ABI
-             Select 'MIPS64 (big endian)' Target Architecture
-             Select 'mips 64r2' Target Architecture Variant
-             Select 'n64' Target ABI
-             Disable 'Use soft-float'
-           - MIPS64r2 - Little-Endian, Hard-Float, Legacy NaN, n64 ABI
-             Select 'MIPS64 (little endian)' Target Architecture
-             Select 'mips 64r2' Target Architecture Variant
-             Select 'n64' Target ABI
-             Disable 'Use soft-float'
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options b/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options
deleted file mode 100644 (file)
index 464c9b8..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-if BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS
-
-config BR2_TOOLCHAIN_EXTERNAL_PREFIX
-       default "mips-mti-linux-gnu"
-
-config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
-       default "toolchain-external-codescape-mti-mips"
-
-endif
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash b/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash
deleted file mode 100644 (file)
index b07281d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# Codescape toolchains from MIPS Tech LLC
-# From: https://codescape.mips.com/components/toolchain/nanomips/2018.09-02/downloads.html
-sha256  c883a404fd7ea5718e2249a530802e223381f2be52265f88e9b1ce7035c232f3  Codescape.GNU.Tools.Package.2018.09-02.for.MIPS.MTI.Linux.CentOS-6.x86.tar.gz
-sha256  d6310a970b0a8a19ad8e0a2b3ead8c38ee90d0e284a9b2511200ce447f460d2c  Codescape.GNU.Tools.Package.2018.09-02.for.MIPS.MTI.Linux.CentOS-6.x86_64.tar.gz
diff --git a/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk b/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk
deleted file mode 100644 (file)
index 9bee1ab..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-################################################################################
-#
-# toolchain-external-codescape-mti-mips
-#
-################################################################################
-
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_VERSION = 2018.09-02
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_SITE = https://codescape.mips.com/components/toolchain/$(TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_VERSION)
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_STRIP_COMPONENTS = 2
-
-ifeq ($(HOSTARCH),x86)
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_SOURCE = Codescape.GNU.Tools.Package.$(TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_VERSION).for.MIPS.MTI.Linux.CentOS-6.x86.tar.gz
-else
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_SOURCE = Codescape.GNU.Tools.Package.$(TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_VERSION).for.MIPS.MTI.Linux.CentOS-6.x86_64.tar.gz
-endif
-
-# Special fixup for Codescape MIPS toolchains, that have bin-<abi> and
-# sbin-<abi> directories. We create symlinks bin -> bin-<abi> and sbin
-# -> sbin-<abi> so that the rest of Buildroot can find the toolchain
-# tools in the appropriate location.
-ifeq ($(BR2_MIPS_OABI32),y)
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_BIN_DIR_SUFFIX = o32
-else ifeq ($(BR2_MIPS_NABI32),y)
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_BIN_DIR_SUFFIX = n32
-else ifeq ($(BR2_MIPS_NABI64),y)
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_BIN_DIR_SUFFIX = n64
-endif
-
-define TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_STAGING_FIXUPS
-       rmdir $(STAGING_DIR)/usr/bin $(STAGING_DIR)/usr/sbin
-       ln -sf bin-$(TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_BIN_DIR_SUFFIX) $(STAGING_DIR)/usr/bin
-       ln -sf sbin-$(TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_BIN_DIR_SUFFIX) $(STAGING_DIR)/usr/sbin
-endef
-
-# The Codescape toolchain uses a sysroot layout that places them
-# side-by-side instead of nested like multilibs. A symlink is needed
-# much like for the nested sysroots which are handled in
-# copy_toolchain_sysroot but there is not enough information in there
-# to determine whether the sysroot layout was nested or side-by-side.
-# Add the symlink here for now.
-define TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_SYMLINK
-       $(Q)ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))"; \
-       ARCH_SUBDIR=`basename $${ARCH_SYSROOT_DIR}`; \
-       ln -snf . $(STAGING_DIR)/$${ARCH_SUBDIR}
-endef
-
-TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_POST_INSTALL_STAGING_HOOKS += \
-       TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_STAGING_FIXUPS \
-       TOOLCHAIN_EXTERNAL_CODESCAPE_MTI_MIPS_SYMLINK
-
-$(eval $(toolchain-external-package))
This page took 0.07024 seconds and 4 git commands to generate.