Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCHv2 4/5] qemu: add PACKAGECONFIG for virglrenderer, sdl2, usb-redir and spice
Date: Mon, 14 May 2018 18:12:30 +0200	[thread overview]
Message-ID: <20180514161230.GB2840@jama> (raw)
In-Reply-To: <CAJTo0LYxyM-sMx6_UdOoeQykuKXTZyXyuhUfUR2KWzf86MEOGA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

On Sun, May 13, 2018 at 09:05:16PM +0100, Burton, Ross wrote:
> On 11 May 2018 at 20:21, Martin Jansa <martin.jansa@gmail.com> 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: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2018-05-14 16:12 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 14:37 [PATCH 1/3] json-c: upgrade to 0.13.1 Martin Jansa
2018-05-02 14:37 ` [PATCH 2/3] qemu: upgrade to 2.12.0 Martin Jansa
2018-05-02 20:44   ` Alistair Francis
2018-05-09 15:38   ` Burton, Ross
2018-05-10 21:32     ` Alistair Francis
2018-05-11 19:20     ` [PATCHv2 1/5] libsdl2: allow to build native and nativesdk Martin Jansa
2018-05-11 19:21       ` [PATCHv2 2/5] qemu: upgrade to 2.12.0 Martin Jansa
2018-05-11 23:17         ` Alistair Francis
2018-05-11 19:21       ` [PATCHv2 3/5] qemu: refresh patches with devtool Martin Jansa
2018-05-11 23:18         ` Alistair Francis
2018-05-11 19:21       ` [PATCHv2 4/5] qemu: add PACKAGECONFIG for virglrenderer, sdl2, usb-redir and spice Martin Jansa
2018-05-13 20:05         ` Burton, Ross
2018-05-14 16:12           ` Martin Jansa [this message]
2018-05-11 19:21       ` [PATCHv2 5/5] qemu: use sdl2 instead of sdl1 Martin Jansa
2018-05-11 23:22         ` Alistair Francis
2018-05-11 23:20       ` [PATCHv2 1/5] libsdl2: allow to build native and nativesdk Alistair Francis
2018-05-18 21:58   ` [PATCH 2/3] qemu: upgrade to 2.12.0 Burton, Ross
2018-05-29  9:10     ` Martin Jansa
2018-05-29 12:56       ` Martin Jansa
2018-05-29 20:40         ` Martin Jansa
2018-05-29 23:14           ` Alistair Francis
2018-05-30  2:16             ` Khem Raj
2018-05-30 16:35               ` Alistair Francis
2018-05-31 15:41           ` Martin Jansa
2018-06-01  0:00             ` Alistair Francis
2018-06-01  6:37               ` Martin Jansa
2018-06-01  9:08                 ` Martin Jansa
2018-05-02 14:37 ` [PATCH 3/3] qemu: refresh patches with devtool Martin Jansa
2018-05-02 20:45   ` Alistair Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180514161230.GB2840@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox