From 058d9095b19c0c09952d96820ccb022044eafeee Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 4 Mar 2018 11:49:08 +0000 Subject: pseudo-text: add dummy recipe to reproduce YOCTO #12434 Signed-off-by: Martin Jansa --- meta/recipes-devtools/pseudo/pseudo-test.bb | 21 +++++++++++++++++++++ 1 file changed, 21 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..90581ef763 --- /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} = "/" -- cgit 1.2.3-korg