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

Liu Ting-B28495 B28495 at freescale.com
Tue Apr 9 02:11:18 PDT 2013


From: Matthew McClintock [mailto:msm-oss at mcclintock.net]
Sent: Monday, April 08, 2013 10:20 PM
To: Otavio Salvador
Cc: Liu Ting-B28495; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH 1/2] testfloat: add COMPATIBLE_MACHINE to limit the supported targets

On Mon, Apr 8, 2013 at 7:22 AM, Otavio Salvador <otavio at ossystems.com.br<mailto:otavio at ossystems.com.br>> wrote:
On Sun, Apr 7, 2013 at 4:39 AM,  <b28495 at freescale.com<mailto:b28495 at freescale.com>> wrote:
> From: Chunrong Guo <B40290 at freescale.com<mailto:B40290 at freescale.com>>
>
> Signed-off-by: Chunrong Guo <B40290 at freescale.com<mailto:B40290 at freescale.com>>
> ---
>  recipes-test/testfloat/testfloat_2a.bb<http://testfloat_2a.bb> |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/recipes-test/testfloat/testfloat_2a.bb<http://testfloat_2a.bb> b/recipes-test/testfloat/testfloat_2a.bb<http://testfloat_2a.bb>
> index ece8c18..e5f9c6e 100644
> --- a/recipes-test/testfloat/testfloat_2a.bb<http://testfloat_2a.bb>
> +++ b/recipes-test/testfloat/testfloat_2a.bb<http://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?
[Ting] Support for e500mc/e5500/e6500 targets was not added. We want to limit the supported FSL machines to avoid misuse.
-M


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


More information about the meta-freescale mailing list