From 50c2a0b96a0866e513328d95406ee0da44d93989 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 14 May 2019 20:21:40 +0000 Subject: pseudo-test --- meta/recipes-devtools/pseudo/pseudo-test.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/pseudo/pseudo-test.bb b/meta/recipes-devtools/pseudo/pseudo-test.bb index 440a40057c..ec6380bddd 100644 --- a/meta/recipes-devtools/pseudo/pseudo-test.bb +++ b/meta/recipes-devtools/pseudo/pseudo-test.bb @@ -16,13 +16,17 @@ do_compile() { ALL="all: " for i in `seq -w 1 ${RULES}`; do /bin/echo $i > ${S}/$i.txt - /bin/echo -e "R$i:\n\t\$(QINSTALL) ${S}/$i.txt ${D}/$i.txt && mv ${D}/$i.txt ${D}/`expr $i + 1`.txt" >> Makefile; + /bin/echo -e "R$i:\n\t-\$(QINSTALL) ${S}/$i.txt ${D}/$i.txt && mv ${D}/$i.txt ${D}/`expr $i + 1`.txt" >> Makefile; ALL="$ALL R$i" done /bin/echo ${ALL} >> Makefile } do_install() { + # create the files first, so qmake replaces them + for i in `seq -w 1 ${RULES}`; do + /bin/echo $i > ${D}/$i.txt + done oe_runmake all } -- cgit 1.2.3-korg