[OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

McClintock Matthew-B29882 B29882 at freescale.com
Wed Nov 30 01:05:23 UTC 2011


On Tue, Nov 29, 2011 at 3:47 PM, Matthew McClintock <msm at freescale.com> wrote:
> On Tue, Nov 29, 2011 at 10:10 AM, Matthew McClintock <msm at freescale.com> wrote:
>> On Tue, Nov 29, 2011 at 6:30 AM, Richard Purdie
>> <richard.purdie at linuxfoundation.org> wrote:
>>> If you depend just on lib32-libgcc:do_populate_sysroot, it shouldn't
>>> build eglibc. You can do that with something like:
>>>
>>> do_compile[depends] += "lib32-libgcc:do_populate_sysroot"
>>
>> Thanks, I'll give this a try.
>
> This is building some eglibc stuff...
>
> NOTE: package lib32-eglibc-initial-2.13-r15+svnr14157: task
> do_populate_sysroot: Succeeded

Richard,

Also for u-boot I have:

PACKAGE_ARCH = "${MACHINE}"

Which prevents me from doing 'bitbake lib32-u-boot', I've hacked
around this and gotten a 'bitbake u-boot' to use the multilib compiler
but it's not pretty. Maybe we need an 'inherit multilib' or something
which let's a recipe use a multilib compiler environment?

Also doing a

do_compile[depends] += "lib32-gcc-cross:do_populate_sysroot"

Causes eglibc to get built...

-M

-M




More information about the Openembedded-core mailing list