summaryrefslogtreecommitdiff
path: root/examples/yocto/meta-mini/recipes-hello/hello/hello.bb
blob: 6969b4474abc1426ad2af68f39678b86106428cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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}
}