On Sun, May 13, 2018 at 09:05:16PM +0100, Burton, Ross wrote:
> On 11 May 2018 at 20:21, Martin Jansa <[email protected]> wrote:
> > * sdl2 when selected needs sdl as well and will depend on both libsdl
> >   and libsdl
> 
> Is that a limitation of the qemu build, or just how the configure
> options work?  Doesn't seem great to need both!
> 
> Ross

Agreed, it's not great.

It's kind of PACKAGECONFIG limitation, the sdl option is like tristate:
--enable-sdl + --with-sdlabi=1.2
--enable-sdl + --with-sdlabi=2.0
--disable-sdl

I've added sdl2 PACKAGECONFIG like this:
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl"
PACKAGECONFIG[sdl2] = "--with-sdlabi=2.0,--with-sdlabi=1.2,libsdl2"

I can add 3rd PACKAGECONFIG (that user will need to use sdl+sdl1 or
sdl+sdl2) or anonymous python to remove libsdl when both both libsdl and
libsdl2 are in DEPENDS.

Regards,

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to