[poky] [PATCH 1/9] libtool: changes to enable sysroot support
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jan 19 08:05:51 PST 2011
On Wed, 2011-01-19 at 14:48 +0000, Richard Purdie wrote:
> On Tue, 2011-01-18 at 20:19 -0800, Scott Garman wrote:
> > * Added OE patches by Khem Raj which enable sysroot support
> > and rename the command line option --with-sysroot to
> > --with-libtool-sysroot to avoid conflicts with binutils and
> > gcc
> > * Stage the -cross and -native libtool in the same relative path
> > so it can be accessed equally well from recipes using
> > BBCLASSEXTEND = "native"
> > * Removed obsolete cross_compile.patch
> > * Reorganized common things to libtool.inc
> > * Changed SRC_URI_append to SRC_URI +=
> > * PR bump for all recipes
>
> I'm afraid this patch has too many changes rolled into one. Not all of
> these changes are sysroot related.
In the interests of moving this forward quickly, I've put together:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rpurdie/libtool
which is this patch split out into three with some ideas/improvements
from me on the layout.
Your nativesdk PACKAGES change is wrong, the correct fix is to call
libltdl libltdl-nativesdk in the nativesdk case. The simplest way is:
PKGSUFFIX = ""
PACKAGES = "libltdl${PKGSUFFIX}"
and then change PKGSUFFIX in the nativesdk recipe.
I really wasn't sure about the -cross recipe changes. The change to use
libtool.inc looked incorrect and the patch changes for the do_install
also worried me a little and at least need more explanation. Dropping
the PACKAGES line from the -cross recipe is also almost pretty certainly
incorrect.
Can you see if you're happy with the revised patch versions above and
also send out anything else you think is missing such as the suffix fix
above please.
Cheers,
Richard
More information about the poky
mailing list