diff options
Diffstat (limited to 'meta/lib/patchtest/selftest/files/TestMetadata.test_lic_files_chksum_presence.pass')
-rw-r--r-- | meta/lib/patchtest/selftest/files/TestMetadata.test_lic_files_chksum_presence.pass | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/lib/patchtest/selftest/files/TestMetadata.test_lic_files_chksum_presence.pass b/meta/lib/patchtest/selftest/files/TestMetadata.test_lic_files_chksum_presence.pass new file mode 100644 index 0000000000..8ffa97ec56 --- /dev/null +++ b/meta/lib/patchtest/selftest/files/TestMetadata.test_lic_files_chksum_presence.pass | |||
@@ -0,0 +1,43 @@ | |||
1 | From 04eb94a0134ef5eb5b5fd783b303104fbfcd8437 Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Gamblin <tgamblin@baylibre.com> | ||
3 | Date: Fri, 31 May 2024 11:03:47 -0400 | ||
4 | Subject: [PATCH] selftest-hello: add selftest-hello-extra | ||
5 | |||
6 | This should pass the test_lic_files_chksum_presence test. | ||
7 | |||
8 | Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> | ||
9 | --- | ||
10 | .../selftest-hello-extra_1.0.bb | 21 +++++++++++++++++++ | ||
11 | 1 file changed, 21 insertions(+) | ||
12 | create mode 100644 meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb | ||
13 | |||
14 | 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 | ||
15 | new file mode 100644 | ||
16 | index 00000000000..f3dec1b220c | ||
17 | --- /dev/null | ||
18 | +++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb | ||
19 | @@ -0,0 +1,21 @@ | ||
20 | +SUMMARY = "This is an example summary" | ||
21 | +DESCRIPTION = "Simple helloworld application -- selftest variant" | ||
22 | +SECTION = "examples" | ||
23 | +LICENSE = "MIT" | ||
24 | +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
25 | + | ||
26 | +SRC_URI = "file://helloworld.c" | ||
27 | + | ||
28 | +S = "${WORKDIR}/sources" | ||
29 | +UNPACKDIR = "${S}" | ||
30 | + | ||
31 | +do_compile() { | ||
32 | + ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld | ||
33 | +} | ||
34 | + | ||
35 | +do_install() { | ||
36 | + install -d ${D}${bindir} | ||
37 | + install -m 0755 helloworld ${D}${bindir} | ||
38 | +} | ||
39 | + | ||
40 | +BBCLASSEXTEND = "native nativesdk" | ||
41 | -- | ||
42 | 2.45.1 | ||
43 | |||