[Openembedded-architecture] Baselib doesn't allow subdirectories?

Richard Purdie richard.purdie at linuxfoundation.org
Thu Feb 15 15:18:14 UTC 2018


On Thu, 2018-02-15 at 15:12 +0100, Koen Kooi wrote:
> Hi,
> 
> I’ve been trying to figure out how much effort adding debian style
> multiarch[1] would be and ran into an interesting problem:
> 
> 	baselib can’t have a subdirectory!
[...]
> So as soon as baselib has a subdirectory ‘libc.so’ disappears from
> packaging and sysroot, which has a predictable effect on the rest of
> the build. Is this by design? And if not, is it worth fixing?

baselib has never worked with a subdirectory, we struggled to get
multilib to work at all, let alone adding in that subset of problems.

Its not design as such but there are a lot of assumptions about it in
the code. I'm not adversed to looking into how much effort it would be
to change that but you may be better off changing base_libdir and
libdir instead as the code does support changing those more
arbitrarily.

Cheers,

Richard



More information about the Openembedded-architecture mailing list