]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
pseudo-test
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 20 Apr 2018 08:22:56 +0000 (08:22 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Sun, 24 Mar 2019 10:13:28 +0000 (11:13 +0100)
meta/recipes-devtools/pseudo/pseudo-test.bb

index 90581ef763f3f9ce375e2102f92925c9365e55bc..3a36dde09675308a0a23e0055d3ea7f68f3359c7 100644 (file)
@@ -9,13 +9,13 @@ CLEANBROKEN = "1"
 RULES = "1000"
 
 do_compile() {
-    echo > Makefile; ALL="all: "; for i in `seq -w 1 ${RULES}`; do echo -e "R$i:\n\techo $i > foo.txt" >> Makefile; ALL="$ALL R$i"; done; echo ${ALL} >> Makefile
+    echo > Makefile; ALL="all: "; for i in `seq -w 1 ${RULES}`; do echo -e "R$i:\n\techo $i > foo.txt\n\tln foo.txt foo.txt.$i\n\tcp foo.txt.$i foo.txt.$i.copy" >> Makefile; ALL="$ALL R$i"; done; echo ${ALL} >> Makefile
 }
 
 do_install() {
     oe_runmake all
     cat foo.txt
-    mv foo.txt ${D}
+    mv foo.txt.* ${D}
 }
 
 FILES_${PN} = "/"