Update Buildroot 2019.02.8
This commit is contained in:
@@ -124,6 +124,12 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
default y if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS && \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still
|
||||
# exists in gcc 9.x
|
||||
config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
|
||||
bool
|
||||
default y if BR2_microblaze
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no
|
||||
# longer exists in gcc 8.x.
|
||||
config BR2_TOOLCHAIN_HAS_GCC_BUG_85180
|
||||
|
||||
@@ -158,11 +158,12 @@ copy_toolchain_sysroot = \
|
||||
# Check the specified kernel headers version actually matches the
|
||||
# version in the toolchain.
|
||||
#
|
||||
# $1: sysroot directory
|
||||
# $2: kernel version string, in the form: X.Y
|
||||
# $1: build directory
|
||||
# $2: sysroot directory
|
||||
# $3: kernel version string, in the form: X.Y
|
||||
#
|
||||
check_kernel_headers_version = \
|
||||
if ! support/scripts/check-kernel-headers.sh $(1) $(2); then \
|
||||
if ! support/scripts/check-kernel-headers.sh $(1) $(2) $(3); then \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
|
||||
@@ -94,6 +94,8 @@ config BR2_TOOLCHAIN_BUILDROOT_MUSL
|
||||
This option selects musl as the C library for the
|
||||
cross-compilation toolchain.
|
||||
|
||||
https://www.musl-libc.org/
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_TOOLCHAIN_BUILDROOT_LIBC
|
||||
|
||||
@@ -114,6 +114,10 @@ endif
|
||||
|
||||
TOOLCHAIN_EXTERNAL_LIBS += ld*.so* libgcc_s.so.* libatomic.so.*
|
||||
|
||||
ifneq ($(BR2_SSP_NONE),y)
|
||||
TOOLCHAIN_EXTERNAL_LIBS += libssp.so.*
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
|
||||
TOOLCHAIN_EXTERNAL_LIBS += libc.so.* libcrypt.so.* libdl.so.* libm.so.* libnsl.so.* libresolv.so.* librt.so.* libutil.so.*
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
@@ -527,6 +531,7 @@ define $(2)_CONFIGURE_CMDS
|
||||
$$(Q)$$(call check_unusable_toolchain,$$(TOOLCHAIN_EXTERNAL_CC))
|
||||
$$(Q)SYSROOT_DIR="$$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC))" ; \
|
||||
$$(call check_kernel_headers_version,\
|
||||
$$(BUILD_DIR)\
|
||||
$$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC)),\
|
||||
$$(call qstrip,$$(BR2_TOOLCHAIN_HEADERS_AT_LEAST))); \
|
||||
$$(call check_gcc_version,$$(TOOLCHAIN_EXTERNAL_CC),\
|
||||
|
||||
Reference in New Issue
Block a user