From: Martin Jansa Date: Sun, 4 Mar 2018 11:49:08 +0000 (+0000) Subject: pseudo-text: add dummy recipe to reproduce YOCTO #12434 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=058d9095b19c0c09952d96820ccb022044eafeee;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pseudo-text: add dummy recipe to reproduce YOCTO #12434 Signed-off-by: Martin Jansa --- diff --git a/meta/recipes-devtools/pseudo/pseudo-test.bb b/meta/recipes-devtools/pseudo/pseudo-test.bb new file mode 100644 index 00000000000..90581ef763f --- /dev/null +++ b/meta/recipes-devtools/pseudo/pseudo-test.bb @@ -0,0 +1,21 @@ +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit allarch + +DEPENDS = "coreutils-native" +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 +} + +do_install() { + oe_runmake all + cat foo.txt + mv foo.txt ${D} +} + +FILES_${PN} = "/"