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