sane-toolchain: use hard assignment instead of weak for libtool version and LIBTOOL_H...
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 16 Dec 2010 23:25:40 +0000 (00:25 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 17 Dec 2010 16:31:01 +0000 (17:31 +0100)
* bitbake.conf already has weak LIBTOOL_HAS_SYSROOT ?= "no" so setting to "yes" here was ignored

Acked-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
conf/distro/include/sane-toolchain.inc
conf/distro/shr.conf

index c0a4021..e29893a 100644 (file)
@@ -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}"
index 6295ff3..0258231 100644 (file)
@@ -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