[meta-freescale] [PATCH 05/22] restool: Set PACKAGE_ARCH to the value of MACHINE_ARCH

Zhenhua Luo zhenhua.luo at nxp.com
Tue Nov 22 20:09:30 PST 2016


Hi Fabio,

COMPATIBLE_MACHINE in restool bb indicates that this package only supports specific platforms currently, more platforms will be supported in the near term, e.g. ls1088, ls2088, etc. Actually the output of this package can be shared by those machines, so the bb file should make sure the generated packages can be shared among those platforms instead of recompiling for each target.


Best Regards,

Zhenhua

From: Fabio Berton [mailto:fabio.berton at ossystems.com.br]
Sent: Tuesday, November 22, 2016 8:51 PM
To: Zhenhua Luo <zhenhua.luo at nxp.com>
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] [PATCH 05/22] restool: Set PACKAGE_ARCH to the value of MACHINE_ARCH

Hi Zhenhua,
You said "This package is not machine specific", but recipe has COMPATIBLE_MACHINE = "(ls2080ardb)" that shows this recipe is only compatible with ls2080ardb.
If this recipe is compatible for all qoriq we can use MACHINE_SOCARCH.
Thanks.

On Tue, Nov 22, 2016 at 2:04 AM, Zhenhua Luo <zhenhua.luo at nxp.com<mailto:zhenhua.luo at nxp.com>> wrote:
> -----Original Message-----
> From: meta-freescale-bounces at yoctoproject.org<mailto:meta-freescale-bounces at yoctoproject.org> [mailto:meta-freescale-<mailto:meta-freescale->
> bounces at yoctoproject.org<mailto:bounces at yoctoproject.org>] On Behalf Of Fabio Berton
> Sent: Tuesday, November 22, 2016 1:19 AM
> To: meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
> Subject: [meta-freescale] [PATCH 05/22] restool: Set PACKAGE_ARCH to the
> value of MACHINE_ARCH
>
> Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br<mailto:fabio.berton at ossystems.com.br>>
> ---
>  recipes-dpaa2/restool/restool_git.bb<http://restool_git.bb> | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-dpaa2/restool/restool_git.bb<http://restool_git.bb> b/recipes-
> dpaa2/restool/restool_git.bb<http://restool_git.bb>
> index aad831f..e67be12 100644
> --- a/recipes-dpaa2/restool/restool_git.bb<http://restool_git.bb>
> +++ b/recipes-dpaa2/restool/restool_git.bb<http://restool_git.bb>
> @@ -16,3 +16,5 @@ do_install () {
>  }
>
>  COMPATIBLE_MACHINE = "(ls2080ardb)"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
[Zhenhua Luo] This package is not machine specific, its output packages is generic for the architecture of the machine.


Best Regards,

Zhenhua

> +
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/meta-freescale

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20161123/e4f3c488/attachment.html>


More information about the meta-freescale mailing list