On Thu, Oct 15, 2015 at 6:38 AM, Otavio Salvador
<[email protected]> wrote:
> On Thu, Oct 15, 2015 at 8:47 AM, Martin Jansa <[email protected]> wrote:
>> On Thu, Oct 15, 2015 at 01:00:31PM +0300, Samuli Piippo wrote:
>>> Load additional oe-device-extra.pri in the default linux-oe-g++ mkspec to
>>> allow simple changing of target dependent values. This is useful for any
>>> target that needs to specify e.g., QMAKE_LIBS_EGL or other additional 
>>> configs.
>>
>> Looks good, but people using this need to be aware that it will cause
>> qtbase and everything depending on it MACHINE_ARCH which is very
>> unfortunate considering the time needed to build things like
>> qtwebengine/qtwebkit.
>
> However I don't see how any BSP needing to pass extra libraries or
> flags would not be machine specific.

Multiple machines based on the same SoC (or SoC family) can often
share the same graphics libraries.

> One way to avoid this would be to split out the QPA backend for those
> to another recipe and this to become machine specific and include the
> .pri file.

Alternatively create "egl.pc" and "glesv2.pc" pkg-config files for the
graphics libs. The qtbase build can then set QMAKE_LIBS_EGL etc
automatically without needing changes to the default linux-oe-g++
mkspec.

e.g. something like:

  https://github.com/heiher/raspberrypi-firmware-pkgconfig/tree/master/pkgconfig

> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to