[meta-freescale] [meta-fsl-ppc][PATCH 1/2] testfloat: add COMPATIBLE_MACHINE to limit the supported targets

Matthew McClintock msm-oss at mcclintock.net
Mon Apr 8 07:20:05 PDT 2013


On Mon, Apr 8, 2013 at 7:22 AM, Otavio Salvador <otavio at ossystems.com.br>wrote:

> On Sun, Apr 7, 2013 at 4:39 AM,  <b28495 at freescale.com> wrote:
> > From: Chunrong Guo <B40290 at freescale.com>
> >
> > Signed-off-by: Chunrong Guo <B40290 at freescale.com>
> > ---
> >  recipes-test/testfloat/testfloat_2a.bb |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/recipes-test/testfloat/testfloat_2a.bbb/recipes-test/testfloat/
> testfloat_2a.bb
> > index ece8c18..e5f9c6e 100644
> > --- a/recipes-test/testfloat/testfloat_2a.bb
> > +++ b/recipes-test/testfloat/testfloat_2a.bb
> > @@ -1,6 +1,7 @@
> >  DESCRIPTION = "A program for testing floating-point implementation"
> >  SECTION = "test"
> >  LICENSE = "Hauser TestFloat"
> > +PR = "r1"
> >
> >  LIC_FILES_CHKSUM =
> "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=bdb2e8111838a48015c29bd97f5b6145"
> >
> > @@ -15,6 +16,8 @@ SRC_URI[TestFloat.sha256sum] =
> "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684
> >  SRC_URI[SoftFloat.md5sum] = "b4a58b5c941f1a2317e4c2500086e3fa"
> >  SRC_URI[SoftFloat.sha256sum] =
> "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81"
> >
> > +COMPATIBLE_MACHINE =
> "(p1023rds|p1020rdb|p1020mbg|p1020utm|p1021rdb|p1022ds|p1024rdb|p1025rdb|p1010rdb|p2020ds|p2020rdb|mpc8536ds|mpc8544ds|mpc8548cds|mpc8572ds)"
> > +
>
> Instead of listing every supported board you might have it use
> SOC_FAMILY and list the SoC which are supported.
>
> What do you think?


Isn't the point of this to test float on any machine? Why would you even
limit this to specific machines? Is there a compilation error?

-M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130408/8da88927/attachment.html>


More information about the meta-freescale mailing list