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.ber...@ossystems.com.br] Sent: Tuesday, November 22, 2016 8:51 PM To: Zhenhua Luo <zhenhua....@nxp.com> Cc: meta-freescale@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....@nxp.com<mailto:zhenhua....@nxp.com>> wrote: > -----Original Message----- > From: > meta-freescale-boun...@yoctoproject.org<mailto:meta-freescale-boun...@yoctoproject.org> > [mailto:meta-freescale-<mailto:meta-freescale-> > boun...@yoctoproject.org<mailto:boun...@yoctoproject.org>] On Behalf Of Fabio > Berton > Sent: Tuesday, November 22, 2016 1:19 AM > To: meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org> > Subject: [meta-freescale] [PATCH 05/22] restool: Set PACKAGE_ARCH to the > value of MACHINE_ARCH > > Signed-off-by: Fabio Berton > <fabio.ber...@ossystems.com.br<mailto:fabio.ber...@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@yoctoproject.org<mailto:meta-freescale@yoctoproject.org> > https://lists.yoctoproject.org/listinfo/meta-freescale
-- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale