Advertisement
Guest User

Untitled

a guest
Mar 11th, 2020
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. SRC_URI = "git://gitrepo;protocol=ssh;branch=master \
  2. file://gcom.service \
  3. "
  4.  
  5. SRCREV = "1f5d40be75ff5e7fa16e9b119bf67960be55accf"
  6. LNX_DIR = "${WORKDIR}/git/linux"
  7.  
  8. inherit systemd
  9. SYSTEMD_PACKAGES = "${PN}"
  10. SYSTEMD_SERVICE_${PN} = " gcom.service"
  11.  
  12. FILES_${PN} += " gcom.service \
  13. "
  14.  
  15. do_configure() {
  16. }
  17.  
  18. do_compile() {
  19. cd ${LNX_DIR} && oe_runmake 'CC=${CC}' all
  20. }
  21.  
  22. do_install() {
  23. install -m 755 -d ${D}${sysconfdir}
  24. install -d ${D}/${libdir}
  25. incdir="usr/include"
  26. install -d ${D}/${incdir}
  27.  
  28. install -d ${D}${systemd_system_unitdir}
  29. install -m 644 ${WORKDIR}/gcom.service ${D}${systemd_system_unitdir}/gcom.service
  30. }
  31.  
  32. INSANE_SKIP_${PN} = "ldflags"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement