From: Martin Jansa Date: Fri, 20 Apr 2018 08:22:56 +0000 (+0000) Subject: pseudo-test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c639a01c7a3ecf1a127fa43fa780fd6328c1367e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pseudo-test --- diff --git a/meta/recipes-devtools/pseudo/pseudo-test.bb b/meta/recipes-devtools/pseudo/pseudo-test.bb index 90581ef763f..3a36dde0967 100644 --- a/meta/recipes-devtools/pseudo/pseudo-test.bb +++ b/meta/recipes-devtools/pseudo/pseudo-test.bb @@ -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} = "/"