From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
Date: Fri, 23 Aug 2013 14:26:32 +0200 [thread overview]
Message-ID: <20130823122632.GD3544@jama> (raw)
In-Reply-To: <CANyK_8fT9cf__rs36niVD5mkhXySbioVT16653Zr0tQvwJkh3w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]
On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote:
> On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > +python __anonymous () {
> > + import re
> > +
> > + # Remove egl and gles2 configure options
> > + extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
> > + take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1']
> > + put_in = ['--disable-egl', '--disable-gles2', '--disable-gles1']
> > + pattern = re.compile("--with-egl-platforms")
> > + new_extra_oeconf = []
> > + for i in extra_oeconf:
> > + if i not in take_out and not pattern.match(i):
> > + new_extra_oeconf.append(i)
> > + for i in put_in:
> > + new_extra_oeconf.append(i)
> > + d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
> > +
> > + # Remove egl and gles2 from provides
> > + provides = d.getVar('PROVIDES', True).split()
> > + take_out = ['virtual/libgles2', 'virtual/egl', 'virtual/libgles1']
> > + new_provides = []
> > + for i in provides:
> > + if i not in take_out:
> > + new_provides.append(i)
> > + d.setVar('PROVIDES', ' '.join(new_provides))
> > +
> > + # We are now machine specific
> > + d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH'))
> > +}
>
> This really needs to check whether MACHINE="raspberrypi" before
> changing anything. I keep the same stack of layers and just change
> MACHINE when building for raspberrypi and beagleboard.
Be aware that it would make mesa (and everything depending on mesa)
effectively MACHINE_ARCH.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-08-23 12:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot Andrei Gherzan
2013-08-23 9:40 ` Paul Barker
2013-08-24 0:05 ` Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 03/11] userland: Update to 2013-08-20 master's snapshot Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 04/11] rpi-config: " Andrei Gherzan
2013-08-23 11:06 ` Paul Barker
2013-08-24 0:03 ` Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 05/11] rpi-gpio: Update to v0.5.3a Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 06/11] rpio: Integrate v0.10.0 Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi Andrei Gherzan
2013-08-23 10:59 ` Paul Barker
2013-08-23 12:26 ` Martin Jansa [this message]
2013-08-24 0:02 ` Andrei Gherzan
2013-10-11 15:47 ` Paul Barker
2013-11-11 10:19 ` Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 08/11] bcm2835: Update to v1.9 Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 09/11] omxplayer: Update to 2013-08-20 master's snapshot Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 10/11] firmware: " Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 11/11] vc-graphics: Remove some useless new lines Andrei Gherzan
2013-08-21 13:14 ` [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
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=20130823122632.GD3544@jama \
--to=martin.jansa@gmail.com \
--cc=paul@paulbarker.me.uk \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.