From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Joshua Watt <jpewhacker@gmail.com>,
Alexander Kanavin <alex.kanavin@gmail.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 02/12] qemu: enable virglrenderer and glx options for native/nativesdk builds
Date: Mon, 25 Feb 2019 15:31:48 +0000 [thread overview]
Message-ID: <531071f0314445751bf4afb0c0be273a76cebef5.camel@linuxfoundation.org> (raw)
In-Reply-To: <01e0cbf362ad949ea1ccac98d31e44d1c601dc6f.camel@gmail.com>
On Mon, 2019-02-25 at 09:29 -0600, Joshua Watt wrote:
> On Mon, 2019-02-25 at 13:52 +0100, Alexander Kanavin wrote:
> > On Mon, 25 Feb 2019 at 12:02, Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > > On Fri, 2019-02-22 at 15:33 +0100, Alexander Kanavin wrote:
> > > > Except for ming32/darwin, which do not support them.
> > > >
> > > > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > > > ---
> > > > meta/recipes-devtools/qemu/qemu.inc | 10 +++++-----
> > > > 1 file changed, 5 insertions(+), 5 deletions(-)
> > > >
> > > > diff --git a/meta/recipes-devtools/qemu/qemu.inc
> > > > b/meta/recipes-
> > > > devtools/qemu/qemu.inc
> > > > index c127434b020..95e9e0ede77 100644
> > > > --- a/meta/recipes-devtools/qemu/qemu.inc
> > > > +++ b/meta/recipes-devtools/qemu/qemu.inc
> > > > @@ -74,15 +74,15 @@ PACKAGECONFIG ??= " \
> > > > fdt sdl kvm \
> > > > ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \
> > > > "
> > > > -PACKAGECONFIG_class-native ??= "fdt alsa kvm"
> > > > -PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm"
> > > > +PACKAGECONFIG_class-native ??= "fdt alsa kvm virglrenderer
> > > > glx"
> > > > +PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm virglrenderer
> > > > glx"
> > > >
> > > > # Handle distros such as CentOS 5 32-bit that do not have kvm
> > > > support
> > > > PACKAGECONFIG_class-native_remove = "${@'kvm' if not
> > > > os.path.exists('/usr/include/linux/kvm.h') else ''}"
> > > >
> > > > -# Disable kvm on targets that do not support it
> > > > -PACKAGECONFIG_remove_darwin = "kvm"
> > > > -PACKAGECONFIG_remove_mingw32 = "kvm"
> > > > +# Disable kvm/virgl/mesa on targets that do not support it
> > > > +PACKAGECONFIG_remove_darwin = "kvm virglrenderer glx gtk+"
> > > > +PACKAGECONFIG_remove_mingw32 = "kvm virglrenderer glx gtk+"
> > >
> > > Sorry, I just spotted this. Please don't use _remove in OE-Core.
> > > Can we
> > > rearrange this so we don't need to use remove?
> > >
> > > I appreciate there are other users that have crept in but I'd
> > > like
> > > to
> > > see them gone too...
> >
> > I'm actually unsure how to override the
> > PACKAGECONFIG_append_pn-qemu-native = " gtk+"
> > set in local.conf without using _remove.
>
> I don't think I quite follow why this is an issue, mingw is not a
> supported build host AFAIK, so the "-native" means it shouldn't be a
> problem (e.g. "native" should never mean "mingw")? Not sure about
> darwin though.
I wasn't quite seeing this either at first. native isn't the problem,
its the nativesdk variant...
Cheers,
Richard
next prev parent reply other threads:[~2019-02-25 15:31 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 14:33 [PATCH 00/12] Enable accelerated OpenGL in qemu Alexander Kanavin
2019-02-22 14:33 ` [PATCH 01/12] virglrenderer: add a recipe Alexander Kanavin
2019-02-22 18:54 ` Khem Raj
2019-02-22 19:11 ` Alexander Kanavin
2019-02-23 17:56 ` Khem Raj
2019-02-23 18:07 ` Richard Purdie
2019-02-23 19:57 ` Khem Raj
2019-02-23 22:15 ` Richard Purdie
2019-02-23 22:30 ` Adrian Bunk
2019-02-24 13:37 ` Alexander Kanavin
2019-02-22 14:33 ` [PATCH 02/12] qemu: enable virglrenderer and glx options for native/nativesdk builds Alexander Kanavin
2019-02-25 11:02 ` Richard Purdie
2019-02-25 12:52 ` Alexander Kanavin
2019-02-25 15:08 ` Khem Raj
2019-02-25 15:29 ` Joshua Watt
2019-02-25 15:31 ` Richard Purdie [this message]
2019-02-22 14:33 ` [PATCH 03/12] qemu: build target variant with gtk+, and nativesdk variant without sdl Alexander Kanavin
2019-02-22 14:33 ` [PATCH 04/12] local.conf.sample: adjust the qemu config to enable gtk+ instead of sdl Alexander Kanavin
2019-02-22 14:33 ` [PATCH 05/12] qemu: remove support for building against host sdl Alexander Kanavin
2019-02-22 14:33 ` [PATCH 06/12] qemu: add a gettext-native dependency to gtk option Alexander Kanavin
2019-02-22 14:33 ` [PATCH 07/12] qemu: add a patch to avoid a missing definition error Alexander Kanavin
2019-02-22 14:33 ` [PATCH 08/12] qemu: add environment variable wrappers to make qemu look good with gtk frontend Alexander Kanavin
2019-02-22 14:33 ` [PATCH 09/12] qemu: add a backported patch to fix egl-headless support Alexander Kanavin
2019-02-22 14:33 ` [PATCH 10/12] runqemu: add options for enabling virgl GL acceleration Alexander Kanavin
2019-02-22 14:33 ` [PATCH 11/12] runqemu: do not check for GL libraries Alexander Kanavin
2019-02-22 14:33 ` [PATCH 12/12] selftest: add tests for virgl GL acceleration Alexander Kanavin
2019-02-25 9:47 ` [PATCH 00/12] Enable accelerated OpenGL in qemu Richard Purdie
2019-02-25 11:36 ` Alexander Kanavin
-- strict thread matches above, loose matches on Subject: below --
2019-02-08 14:45 Alexander Kanavin
2019-02-08 14:45 ` [PATCH 02/12] qemu: enable virglrenderer and glx options for native/nativesdk builds Alexander Kanavin
2019-02-08 23:12 ` Martin Jansa
2019-02-08 23:32 ` Alexander Kanavin
2019-02-09 9:32 ` Martin Jansa
2019-02-09 10:04 ` Alexander Kanavin
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=531071f0314445751bf4afb0c0be273a76cebef5.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=alex.kanavin@gmail.com \
--cc=jpewhacker@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/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