diff options
Diffstat (limited to 'examples/yocto/meta-mini/recipes-hello/hello/hello.bb')
| -rw-r--r-- | examples/yocto/meta-mini/recipes-hello/hello/hello.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/yocto/meta-mini/recipes-hello/hello/hello.bb b/examples/yocto/meta-mini/recipes-hello/hello/hello.bb new file mode 100644 index 0000000..6969b44 --- /dev/null +++ b/examples/yocto/meta-mini/recipes-hello/hello/hello.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Simple helloworld application" +SECTION = "examples" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +PR = "r0" + +SRC_URI = "file://hello.c" + +S = "${WORKDIR}" + +do_compile() { + ${CC} hello.c -o hello +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 hello ${D}${bindir} +} |
