hello_1.0.bb 401 B

123456789101112131415161718
  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 = "${WORKDIR}/sources"
  7. UNPACKDIR = "${S}"
  8. do_compile() {
  9. ${CC} ${LDFLAGS} helloworld.c -o helloworld
  10. }
  11. do_install() {
  12. install -d ${D}${bindir}
  13. install -m 0755 helloworld ${D}${bindir}
  14. }