hello_1.0.bb 376 B

1234567891011121314151617
  1. DESCRIPTION = "Simple helloworld application"
  2. SECTION = "examples"
  3. LICENSE = "MIT"
  4. LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
  5. SRC_URI = "file://helloworld.c"
  6. S = "${UNPACKDIR}"
  7. do_compile() {
  8. ${CC} ${LDFLAGS} helloworld.c -o helloworld
  9. }
  10. do_install() {
  11. install -d ${D}${bindir}
  12. install -m 0755 helloworld ${D}${bindir}
  13. }