[meta-freescale] [meta-fsl-ppc][PATCH] testfloat: mark do_{compile, install} as fslmachine only
b28495 at freescale.com
b28495 at freescale.com
Wed Jul 3 02:23:23 PDT 2013
From: Ting Liu <b28495 at freescale.com>
The customized do_{compile,install} tasks are only available after
the three patches were applied.
Signed-off-by: Ting Liu <b28495 at freescale.com>
---
recipes-test/testfloat/testfloat_2a.bb | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/recipes-test/testfloat/testfloat_2a.bb b/recipes-test/testfloat/testfloat_2a.bb
index 8db41b8..597b324 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"
@@ -32,10 +32,17 @@ do_unpack2(){
addtask do_unpack2 after do_unpack before do_patch
do_compile(){
+ :todo
+}
+
+do_compile_fslmachine(){
oe_runmake -C testfloat/powerpc-linux-gcc/ CC="${CC}" EXTRA_CFLAGS="-DTEST_KERNEL_EMU"
}
do_install(){
+ :todo
+}
+do_install_fslmachine(){
install -d ${D}/${bindir}
install testfloat/powerpc-linux-gcc/testfloat ${D}/${bindir}
install testfloat/powerpc-linux-gcc/testsoftfloat ${D}/${bindir}
--
1.7.3.4
More information about the meta-freescale
mailing list