hello.bb 272 B

12345678910111213141516
  1. DESCRIPTION = "Simple helloworld application"
  2. SECTION = "examples"
  3. LICENSE = "MIT"
  4. SRC_URI = "file://helloworld.c"
  5. S = "${WORKDIR}"
  6. do_compile() {
  7. ${CC} helloworld.c -o helloworld
  8. }
  9. do_install() {
  10. install -d ${D}${bindir}
  11. install -m 0755 helloworld ${D}${bindir}
  12. }