From 5b5685efb256f9e63c4c8ca50d1a6e6deb3f2f31 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 4 Mar 2018 11:49:08 +0000 Subject: pseudo-test: add dummy recipe to reproduce YOCTO #12434 Signed-off-by: Martin Jansa --- meta/recipes-devtools/pseudo/pseudo-test.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/recipes-devtools/pseudo/pseudo-test.bb diff --git a/meta/recipes-devtools/pseudo/pseudo-test.bb b/meta/recipes-devtools/pseudo/pseudo-test.bb new file mode 100644 index 0000000000..440a40057c --- /dev/null +++ b/meta/recipes-devtools/pseudo/pseudo-test.bb @@ -0,0 +1,29 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +DEPENDS = "qtbase-native" +CLEANBROKEN = "1" + +inherit qmake5_paths + +RULES = "999" +PARALLEL_MAKE = "-j 30" + +do_compile() { + # with normall install command it doesn't trigger the issue + # echo "QINSTALL = ${STAGING_BINDIR_NATIVE}/install" > Makefile + /bin/echo "QINSTALL = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qmake -install qinstall" > Makefile + 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; + ALL="$ALL R$i" + done + /bin/echo ${ALL} >> Makefile +} + +do_install() { + oe_runmake all +} + +FILES_${PN} = "/" -- cgit 1.2.3-korg