selftest-hello_1.0.bb 442 B

12345678910111213141516171819
  1. DESCRIPTION = "Simple helloworld application -- selftest variant"
  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} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
  9. }
  10. do_install() {
  11. install -d ${D}${bindir}
  12. install -m 0755 helloworld ${D}${bindir}
  13. }
  14. BBCLASSEXTEND = "native nativesdk"