Patchwork [meta-fsl-ppc,v2] testfloat: mark as fsl e500v2 machine only

login
register
mail settings
Submitter Ting Liu
Date July 4, 2013, 2:12 a.m.
Message ID <1372903944-21065-1-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/52941/
State Accepted
Delegated to: Zhenhua Luo
Headers show

Comments

Ting Liu - July 4, 2013, 2:12 a.m.
From: Ting Liu <b28495@freescale.com>

The customized do_{compile,install} tasks are only available after
applying the three patches which are e500v2 specific.

Signed-off-by: Ting Liu <b28495@freescale.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-test/testfloat/testfloat_2a.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Zhenhua Luo - July 5, 2013, 2:42 a.m.
Applied, thanks.


Best Regards,

Zhenhua


> -----Original Message-----
> From: Liu Ting-B28495
> Sent: Thursday, July 04, 2013 10:12 AM
> To: meta-freescale@yoctoproject.org
> Cc: Luo Zhenhua-B19537; Liu Ting-B28495
> Subject: [meta-fsl-ppc][PATCH v2] testfloat: mark as fsl e500v2 machine
> only
> 
> From: Ting Liu <b28495@freescale.com>
> 
> The customized do_{compile,install} tasks are only available after
> applying the three patches which are e500v2 specific.
> 
> Signed-off-by: Ting Liu <b28495@freescale.com>
> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  recipes-test/testfloat/testfloat_2a.bb |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes-test/testfloat/testfloat_2a.bb b/recipes-
> test/testfloat/testfloat_2a.bb
> index 8db41b8..3fbb207 100644
> --- a/recipes-test/testfloat/testfloat_2a.bb
> +++ b/recipes-test/testfloat/testfloat_2a.bb
> @@ -6,10 +6,10 @@ LIC_FILES_CHKSUM =
> "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=b
> 
>  SRC_URI = " http://www.jhauser.us/arithmetic/TestFloat-
> 2a.tar.Z;name=TestFloat \
>              http://www.jhauser.us/arithmetic/SoftFloat-
> 2b.tar.Z;name=SoftFloat \
> -            file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
>            "
>  SRC_URI_append_fslmachine = " file://SoftFloat-powerpc-1.patch \
>                                file://TestFloat-powerpc-E500v2-SPE-
> 1.patch \
> +
> + file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
>                              "
>  SRC_URI[TestFloat.md5sum] = "4dc889319ae1e0c5381ec511f784553a"
>  SRC_URI[TestFloat.sha256sum] =
> "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e"
> @@ -41,3 +41,6 @@ do_install(){
>      install testfloat/powerpc-linux-gcc/testsoftfloat ${D}/${bindir}  }
> 
> +COMPATIBLE_HOST_e500v2 = ".*"
> +COMPATIBLE_HOST ?= "(none)"
> +
> --
> 1.7.3.4

Patch

diff --git a/recipes-test/testfloat/testfloat_2a.bb b/recipes-test/testfloat/testfloat_2a.bb
index 8db41b8..3fbb207 100644
--- a/recipes-test/testfloat/testfloat_2a.bb
+++ b/recipes-test/testfloat/testfloat_2a.bb
@@ -6,10 +6,10 @@  LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=b
 
 SRC_URI = " http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \
             http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \
-            file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
           "
 SRC_URI_append_fslmachine = " file://SoftFloat-powerpc-1.patch \
                               file://TestFloat-powerpc-E500v2-SPE-1.patch \
+                              file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
                             "
 SRC_URI[TestFloat.md5sum] = "4dc889319ae1e0c5381ec511f784553a"
 SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e"
@@ -41,3 +41,6 @@  do_install(){
     install testfloat/powerpc-linux-gcc/testsoftfloat ${D}/${bindir}
 }
 
+COMPATIBLE_HOST_e500v2 = ".*"
+COMPATIBLE_HOST ?= "(none)"
+