sane-toolchain: use hard assignment instead of weak for libtool version and LIBTOOL_HAS_SYSROOT
PATCH 1/1 sane-toolchain: use hard assignment instead of weak for libtool version and LIBTOOL_HAS_SYSROOT
* bitbake.conf already has weak LIBTOOL_HAS_SYSROOT ?= "no" so setting to "yes" here was ignored
--- conf/distro/include/sane-toolchain.inc | 8 ++++++-- conf/distro/shr.conf | 3 --- 2 files changed, 6 insertions(+), 5 deletions(-)
conf/distro/include/sane-toolchain.inc +6 -2
@@ -10,8 +10,12 @@ PREFERRED_BINUTILS_VERSION ?= "2.20.1" PREFERRED_UCLIBC_VERSION ?= "git" PREFERRED_EGLIBC_VERSION ?= "2.12" PREFERRED_GLIBC_VERSION ?= "2.10.1" -PREFERRED_LIBTOOL_VERSION ?= "2.4" -LIBTOOL_HAS_SYSROOT ?= "yes" +# we need hard assignment here, because bitbake.conf has +# weak "no" first so weak "yes" here won't override it +# also use hard assignment for version to make sure it's +# new enough for SYSROOT support +PREFERRED_LIBTOOL_VERSION = "2.4" +LIBTOOL_HAS_SYSROOT = "yes" # Prefer glibc 2.6 and uclibc 0.9.30, these have had the most testing. PREFERRED_VERSION_glibc ?= "${PREFERRED_GLIBC_VERSION}"
conf/distro/shr.conf +0 -3
@@ -159,9 +159,6 @@ MACHINE_OVERRIDES += "${MACHINE_CLASS}" # TOOLCHAIN ############################################################################# LIBC ?= "eglibc" -# it's needed here without weak assignment, because bitbake.conf has -# weak "no" first and weak "yes" in sane-toolchain is then ignored -LIBTOOL_HAS_SYSROOT = "yes" require conf/distro/include/sane-toolchain.inc require conf/distro/include/arm-thumb.inc
Signature · 1 line
1.7.3.3