[OE-core] [PATCH] cross-canadian.bbclass: Add BASECANADIANEXTRAOS to specify main extraos

Mark Hatle mark.hatle at windriver.com
Mon Dec 7 21:39:29 UTC 2015


Sorry forgot to setup a cover letter.

The issue is that various extra OS entries cause numerous symlinks to be set.
These symlinks can cause confusion for someone looking in the directory.  They
may think uclibc or musl is actually supported.

However, the real problem is when you build an SDK for Windows (mingw), symlinks
get expanded on installation.  So you end up with a full copy of the toolchain
for each symlink.

This will increase (the installed) size of the x86_64 toolchain by 600MB, for no
real reason.

The change is equally applicable to master and jethro.

On 12/7/15 3:36 PM, Mark Hatle wrote:
> By default the system will expand the extra os entries for uclibc and musl
> even if they are not enabled in the build.  There was no way to prevent this
> behavior while still getting the expansion for things like x32 or spe.
> 
> The change adds a new setting which a distribution creator can override
> easily, setting the base set of canadianextraos components.  The other
> expansions are then based on this setting.
> 
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
>  meta/classes/cross-canadian.bbclass | 22 +++++++++++++++++-----
>  1 file changed, 17 insertions(+), 5 deletions(-)
> 




More information about the Openembedded-core mailing list