From 74bc209a4fbe4da2f57e153ccfff3d2241dada8d Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 31 May 2024 11:03:47 -0400 Subject: [PATCH] selftest-hello: add selftest-hello-extra This should fail the test_lic_files_chksum_presence test. Signed-off-by: Trevor Gamblin --- .../selftest-hello-extra_1.0.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb new file mode 100644 index 00000000000..875bcbef859 --- /dev/null +++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "This is an example summary" +DESCRIPTION = "Simple helloworld application -- selftest variant" +SECTION = "examples" +LICENSE = "MIT" + +SRC_URI = "file://helloworld.c" + +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + +do_compile() { + ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 helloworld ${D}${bindir} +} + +BBCLASSEXTEND = "native nativesdk" -- 2.45.1