poky/documentation/poky-ref-manual/examples/hello-single/hello.bb
Paul Eggleton 547ba60f85 documentation: ensure all examples have LIC_FILES_CHKSUM
We really need to have LIC_FILES_CHKSUM in all of our example recipes,
because it is now mandatory.

(From yocto-docs rev: 76998b7c54246e0505cf01b21d65d04ab285f1f0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-24 19:49:36 -07:00

18 lines
363 B
BlitzBasic

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} helloworld.c -o helloworld
}
do_install() {
install -d ${D}${bindir}
install -m 0755 helloworld ${D}${bindir}
}