Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # yocto-bsp-filename {{=example_recipe_name}}_0.1.bb |
| 2 | # |
| 3 | # This file was derived from the 'Hello World!' example recipe in the |
| 4 | # Yocto Project Development Manual. |
| 5 | # |
| 6 | |
| 7 | SUMMARY = "Simple helloworld application" |
| 8 | SECTION = "examples" |
| 9 | LICENSE = "MIT" |
| 10 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 11 | |
| 12 | SRC_URI = "file://helloworld.c" |
| 13 | |
| 14 | S = "${WORKDIR}" |
| 15 | |
| 16 | do_compile() { |
| 17 | ${CC} helloworld.c -o helloworld |
| 18 | } |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}${bindir} |
| 22 | install -m 0755 helloworld ${D}${bindir} |
| 23 | } |