Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #
  2. # This file was derived from the 'Hello World!' example recipe in the
  3. # Yocto Project Development Manual.
  4. #
  5.  
  6. SUMMARY = "Simple helloworld application"
  7. SECTION = "examples"
  8. LICENSE = "MIT"
  9. LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
  10.  
  11. SRC_URI = "file://helloworld.c"
  12.  
  13. S = "${WORKDIR}"
  14.  
  15. do_compile() {
  16. ${CC} ${LDFLAGS} helloworld.c -o helloworld
  17. }
  18.  
  19. do_install() {
  20. install -d ${D}${bindir}
  21. install -m 0755 helloworld ${D}${bindir}
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement