Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -13,12 +13,14 @@ GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
|
||||
ifeq ($(BR2_arc),y)
|
||||
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
|
||||
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
|
||||
else ifeq ($(BR2_or1k),y)
|
||||
GCC_SITE = $(call github,openrisc,or1k-gcc,$(GCC_VERSION))
|
||||
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
|
||||
else
|
||||
GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
|
||||
GCC_SOURCE = gcc-$(GCC_VERSION).tar.bz2
|
||||
endif
|
||||
|
||||
GCC_SOURCE ?= gcc-$(GCC_VERSION).tar.bz2
|
||||
|
||||
#
|
||||
# Xtensa special hook
|
||||
#
|
||||
@@ -82,6 +84,7 @@ endef
|
||||
HOST_GCC_COMMON_DEPENDENCIES = \
|
||||
host-binutils \
|
||||
host-gmp \
|
||||
host-mpc \
|
||||
host-mpfr \
|
||||
$(if $(BR2_BINFMT_FLAT),host-elf2flt)
|
||||
|
||||
@@ -93,6 +96,7 @@ HOST_GCC_COMMON_CONF_OPTS = \
|
||||
--disable-libssp \
|
||||
--disable-multilib \
|
||||
--with-gmp=$(HOST_DIR)/usr \
|
||||
--with-mpc=$(HOST_DIR)/usr \
|
||||
--with-mpfr=$(HOST_DIR)/usr \
|
||||
--with-pkgversion="Buildroot $(BR2_VERSION_FULL)" \
|
||||
--with-bugurl="http://bugs.buildroot.net/"
|
||||
@@ -114,6 +118,11 @@ ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
|
||||
HOST_GCC_COMMON_CONF_OPTS += --disable-libitm
|
||||
endif
|
||||
|
||||
# libmpx uses secure_getenv and struct _libc_fpstate not present in musl
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_MUSL)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),yy)
|
||||
HOST_GCC_COMMON_CONF_OPTS += --disable-libmpx
|
||||
endif
|
||||
|
||||
# quadmath support requires wchar
|
||||
ifeq ($(BR2_USE_WCHAR)$(BR2_TOOLCHAIN_HAS_LIBQUADMATH),yy)
|
||||
HOST_GCC_COMMON_CONF_OPTS += --enable-libquadmath
|
||||
@@ -133,10 +142,13 @@ ifeq ($(BR2_sparc)$(BR2_sparc64),y)
|
||||
HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_GCC_ENABLE_TLS),y)
|
||||
HOST_GCC_COMMON_CONF_OPTS += --enable-tls
|
||||
else
|
||||
# TLS support is not needed on uClibc/no-thread and
|
||||
# uClibc/linux-threads, otherwise, for all other situations (glibc,
|
||||
# musl and uClibc/NPTL), we need it.
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_PTHREADS)$(BR2_PTHREADS_NONE),yy)
|
||||
HOST_GCC_COMMON_CONF_OPTS += --disable-tls
|
||||
else
|
||||
HOST_GCC_COMMON_CONF_OPTS += --enable-tls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_GCC_ENABLE_LTO),y)
|
||||
@@ -158,11 +170,6 @@ else
|
||||
HOST_GCC_COMMON_CONF_OPTS += --enable-threads
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_GCC_NEEDS_MPC),y)
|
||||
HOST_GCC_COMMON_DEPENDENCIES += host-mpc
|
||||
HOST_GCC_COMMON_CONF_OPTS += --with-mpc=$(HOST_DIR)/usr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_GCC_ENABLE_GRAPHITE),y)
|
||||
HOST_GCC_COMMON_DEPENDENCIES += host-isl
|
||||
HOST_GCC_COMMON_CONF_OPTS += --with-isl=$(HOST_DIR)/usr
|
||||
@@ -176,7 +183,7 @@ else
|
||||
HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_arc),y)
|
||||
ifeq ($(BR2_arc)$(BR2_or1k),y)
|
||||
HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison
|
||||
endif
|
||||
|
||||
@@ -231,6 +238,16 @@ HOST_GCC_COMMON_CONF_OPTS += \
|
||||
--with-long-double-128
|
||||
endif
|
||||
|
||||
# PowerPC64 big endian by default uses the elfv1 ABI, and PowerPC 64
|
||||
# little endian by default uses the elfv2 ABI. However, musl has
|
||||
# decided to use the elfv2 ABI for both, so we force the elfv2 ABI for
|
||||
# Power64 big endian when the selected C library is musl.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_MUSL)$(BR2_powerpc64),yy)
|
||||
HOST_GCC_COMMON_CONF_OPTS += \
|
||||
--with-abi=elfv2 \
|
||||
--without-long-double-128
|
||||
endif
|
||||
|
||||
HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CROSS_PATH_SUFFIX='".br_real"'
|
||||
ifeq ($(BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS),)
|
||||
ifeq ($(call qstrip,$(BR2_GCC_TARGET_CPU_REVISION)),)
|
||||
|
||||
Reference in New Issue
Block a user