From: Jonathan Liu <net147@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH v2] qtbase: enable Raspberry Pi support
Date: Mon, 26 Oct 2015 22:10:29 +1100 [thread overview]
Message-ID: <562E0A25.7070103@gmail.com> (raw)
In-Reply-To: <3091928.1ZnyljVrr4@peggleto-mobl.ger.corp.intel.com>
On 26/10/2015 9:54 PM, Paul Eggleton wrote:
> On Monday 26 October 2015 21:48:24 Jonathan Liu wrote:
>> On 26/10/2015 8:41 PM, Paul Eggleton wrote:
>>> On Monday 26 October 2015 10:15:49 Andrei Gherzan wrote:
>>>> Hi Paul,
>>>>
>>>> On Mon, Oct 26, 2015 at 08:08:29AM +0000, Paul Eggleton wrote:
>>>>> On Monday 26 October 2015 09:43:08 Jonathan Liu wrote:
>>>>>> [Support #16]
>>>>>>
>>>>>> Signed-off-by: Jonathan Liu <net147@gmail.com>
>>>>>> ---
>>>>>>
>>>>>> recipes-qt/qt5/qtbase_%.bbappend | 6 ++++++
>>>>>> 1 file changed, 6 insertions(+)
>>>>>> create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
>>>>>>
>>>>>> diff --git a/recipes-qt/qt5/qtbase_%.bbappend
>>>>>> b/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644
>>>>>> index 0000000..3e5e667
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-qt/qt5/qtbase_%.bbappend
>>>>>> @@ -0,0 +1,6 @@
>>>>>> +do_configure_prepend_rpi() {
>>>>>> + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
>>>>>> +EGLFS_DEVICE_INTEGRATION = eglfs_brcm
>>>>>> +QMAKE_LIBS_EGL = -lEGL -lGLESv2
>>>>>> +EOF
>>>>>> +}
>>>>> I'm wondering if this is a good idea or not. I appreciate the intention,
>>>>> but does bbappending non-machine-specific recipes like this play well
>>>>> when you have other machines enabled in the same distro?
>>>> But this change will be applied only for _rpi. How is this affecting
>>>> other
>>>> machines?
>>> If everything works such that the resulting packages get marked as
>>> machine-
>>> specific and the package manager correctly installs them in preference to
>>> the generic architecture packages on the machines in question, then there
>>> won't be a massive problem (though the side-effect is probably that any
>>> recipes depending on qtbase will also become machine-specific, that is
>>> possibly more of an issue).
>>>
>>> Cheers,
>>> Paul
>> Good point. The package arch needs to machine-specific. I will send a v3
>> to fix this.
> I think that will get taken care of automatically by virtue of the machine-
> specific override. My question is more about:
>
> 1) Will that mechanism entirely work, including desired behaviours in both the
> build system and the package manager, and
>
> 2) Are any side-effects worth it?
>
> Cheers,
> Paul
>
It wasn't automatically taken care of. I checked the package
architecture and it was incorrect with the v2 patch.
The machine-specific architecture has a higher priority (from my reading
of the opkg handling) so opkg at least should prefer it if a more
generic architecture package is also present. I haven't tested it
thoroughly though.
It seems worth it to have OpenGL ES graphics acceleration.
Regards,
Jonathan
next prev parent reply other threads:[~2015-10-26 11:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-25 22:43 [meta-raspberrypi][PATCH v2] qtbase: enable Raspberry Pi support Jonathan Liu
2015-10-26 8:08 ` Paul Eggleton
2015-10-26 8:24 ` Jonathan Liu
2015-10-26 11:28 ` Otavio Salvador
2015-10-26 11:31 ` Jonathan Liu
2015-10-26 12:09 ` Otavio Salvador
2015-10-26 9:15 ` Andrei Gherzan
2015-10-26 9:41 ` Paul Eggleton
2015-10-26 10:48 ` Jonathan Liu
2015-10-26 10:54 ` Paul Eggleton
2015-10-26 11:10 ` Jonathan Liu [this message]
2015-10-26 11:45 ` Martin Jansa
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=562E0A25.7070103@gmail.com \
--to=net147@gmail.com \
--cc=paul.eggleton@linux.intel.com \
--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.