tests/inputs/hello_1.0.bb
raw| 1 | # Hello world from meta-skeleton |
| 2 | DESCRIPTION = "Simple helloworld application" |
| 3 | SECTION = "examples" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 6 | |
| 7 | SRC_URI = "file://helloworld.c" |
| 8 | |
| 9 | S = "${WORKDIR}" |
| 10 | |
| 11 | do_compile() { |
| 12 | ${CC} ${LDFLAGS} helloworld.c -o helloworld |
| 13 | } |
| 14 | |
| 15 | do_install() { |
| 16 | install -d ${D}${bindir} |
| 17 | install -m 0755 helloworld ${D}${bindir} |
| 18 | } |