Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
config BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
|
||||
bool "Codescape IMG GNU Linux Toolchain 2016.05"
|
||||
depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
||||
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_INSTALL_LIBSTDCPP
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
|
||||
select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
select BR2_TOOLCHAIN_HAS_FORTRAN
|
||||
help
|
||||
Codescape IMG GNU Linux Toolchain 2016.05 for the MIPS
|
||||
architecture, from Imagination Technologies. It uses gcc
|
||||
4.9.2, binutils 2.24.90, 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'
|
||||
@@ -0,0 +1,9 @@
|
||||
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
|
||||
@@ -0,0 +1,4 @@
|
||||
# Codescape toolchains from Imagination Technologies
|
||||
# From: http://codescape-mips-sdk.imgtec.com/components/toolchain/2016.05-06/downloads.html
|
||||
sha256 8d9cdf711dd402d7bf82883d425c221038fe8ce9d0c91a3f6b30939d9d55476c Codescape.GNU.Tools.Package.2016.05-06.for.MIPS.IMG.Linux.CentOS-5.x86.tar.gz
|
||||
sha256 6e2784d6df962fe4db7510c8a62ce3947b73f54207b10e18b52da59d1bc487bd Codescape.GNU.Tools.Package.2016.05-06.for.MIPS.IMG.Linux.CentOS-5.x86_64.tar.gz
|
||||
@@ -0,0 +1,51 @@
|
||||
################################################################################
|
||||
#
|
||||
# toolchain-external-codescape-img-mips
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_VERSION = 2016.05-06
|
||||
TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS_SITE = http://codescape-mips-sdk.imgtec.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-5.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-5.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))
|
||||
Reference in New Issue
Block a user