Skip to contentSkip to conversation

testfloat: mark do_{compile, install} as fslmachine only

PATCH In review [email protected] 2 participants 2 messages Jul 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 testfloat: mark do_{compile, install} as fslmachine only

From: Ting Liu <[email protected]>

The customized do_{compile,install} tasks are only available after the three patches were applied.

---
 recipes-test/testfloat/testfloat_2a.bb |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
recipes-test/testfloat/testfloat_2a.bb +8 -1
index 8db41b8..597b324 100644
@@ -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}
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 6 lines · On Wed, Jul 3, 2013 at 6:23 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

The customized do_{compile,install} tasks are only available after the three patches were applied.

Add a compatible machine match here, as done by Khem, so you can avoid the :todo constructs.

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750