[oe] [PATCH,V2 0/6] libtool 2.4 upgrade

Khem Raj raj.khem at gmail.com
Thu Oct 7 01:46:05 UTC 2010


Hi

Following set of patches is v2 of the patches adding support for getting libtool 2.4 into
openemebedded. I have so far built minimal-image for two machines successfully using old 
and new libtool.

The libtool sysroot feature knob is added through LIBTOOL_HAS_SYSROOT variable. If this is
set to "yes" then you ought to use libtool > 2.4 by default its set to "no" which means
the current behavior remains.

The big change that libtool 2.4 brings is sysroot support and I have added
support to use this feature. It should make our life easier.

This needs a lot of testing.

Please cherry pick the patch bundle and give it a try in yout environment

Some distros pin libtool version to 2.2.6b

include/preferred-slugos-versions.inc
include/angstrom-2008-preferred-versions.inc
include/kaeilos-2009-preferred-versions.inc
include/angstrom-2010-preferred-versions.inc
include/preferred-shr-versions.inc

So if you are using one of these distro's then you might have
to override the version in your local.conf

LIBTOOL_HAS_SYSROOT = "yes"
LIBTOOL_VER = "2.4"
PREFERRED_VERSION_libtool           = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-native    = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-cross     = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-nativesdk = "${LIBTOOL_VER}"
PREFERRED_VERSION_libtool-sdk       = "${LIBTOOL_VER}"

Please review, test, and provide feedback

Thanks

-Khem





More information about the Openembedded-devel mailing list