[oe] making qt5 package machine specific

Otavio Salvador otavio at ossystems.com.br
Thu Nov 21 17:56:19 UTC 2013


On Thu, Nov 21, 2013 at 6:33 AM, Nicolas Dechesne
<nicolas.dechesne at linaro.org> wrote:
> so i have a couple of questions:
>
>  - are we doing something really wrong here? or are we getting issues that
> anyone would get when trying to have a OE based product with Qt5 and
> multiple machines from the same <arch>?
>
>  - assuming this is a typical use case... i wish there was an easy
> mechanism to 'mark' all Qt5 packages as PACKAGE_ARCH = "${MACHINE_ARCH}",
> without having to .bbappend every single recipe. It is indeed quite common
> to have a .bbappend for qtbase, but not for the other packages...

We have a similar case in meta-fsl where we have several packages
which are machine specific and SoC specific. We solved this using a
class that 'changes' the package-arch using the depends.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/classes/fsl-dynamic-packagearch.bbclass

-- 
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



More information about the Openembedded-devel mailing list