diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-07-27 12:03:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 17:46:39 +0100 |
commit | 9ca793696a4129bef96157126f951b07f40dc7d3 (patch) | |
tree | d62b672b324a5afbaa3384e19f6222a0f5586b0f /documentation/ref-manual/examples/hello-single | |
parent | 76053e0f7849ff33428fd75c531c91ab375de8d3 (diff) | |
download | poky-9ca793696a4129bef96157126f951b07f40dc7d3.tar.gz |
ref-manual: remove example recipe source files
These files are not used to build to documentation
and were updated and moved to the "meta-skeleton" layer
(except "mtd-makefile" which is broken and no longer
worth maintaining there, as a recipe for more recent
versions of "mtd-utils" exists).
(From yocto-docs rev: 5fc765fc22e2fa3124089f609db2e60113606c81)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/examples/hello-single')
-rw-r--r-- | documentation/ref-manual/examples/hello-single/files/helloworld.c | 8 | ||||
-rw-r--r-- | documentation/ref-manual/examples/hello-single/hello.bb | 17 |
2 files changed, 0 insertions, 25 deletions
diff --git a/documentation/ref-manual/examples/hello-single/files/helloworld.c b/documentation/ref-manual/examples/hello-single/files/helloworld.c deleted file mode 100644 index fc7169b7b8..0000000000 --- a/documentation/ref-manual/examples/hello-single/files/helloworld.c +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | |||
3 | int main(void) | ||
4 | { | ||
5 | printf("Hello world!\n"); | ||
6 | |||
7 | return 0; | ||
8 | } | ||
diff --git a/documentation/ref-manual/examples/hello-single/hello.bb b/documentation/ref-manual/examples/hello-single/hello.bb deleted file mode 100644 index 90d3aefd86..0000000000 --- a/documentation/ref-manual/examples/hello-single/hello.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | DESCRIPTION = "Simple helloworld application" | ||
2 | SECTION = "examples" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
5 | |||
6 | SRC_URI = "file://helloworld.c" | ||
7 | |||
8 | S = "${WORKDIR}" | ||
9 | |||
10 | do_compile() { | ||
11 | ${CC} ${LDFLAGS} helloworld.c -o helloworld | ||
12 | } | ||
13 | |||
14 | do_install() { | ||
15 | install -d ${D}${bindir} | ||
16 | install -m 0755 helloworld ${D}${bindir} | ||
17 | } | ||