swupdate_tools.inc 531 B

123456789101112131415161718192021
  1. PACKAGES =+ "${PN}-tools"
  2. INSANE_SKIP_${PN}-tools = "ldflags"
  3. FILES_${PN}-tools = "${bindir}/swupdate-*"
  4. do_compile() {
  5. unset LDFLAGS
  6. oe_runmake
  7. cp swupdate_unstripped swupdate
  8. }
  9. do_install_append () {
  10. install -m 0755 tools/client_unstripped ${D}${bindir}/swupdate-client
  11. install -m 0755 tools/progress_unstripped ${D}${bindir}/swupdate-progress
  12. install -m 0755 tools/hawkbitcfg_unstripped ${D}${bindir}/swupdate-hawkbitcfg
  13. install -m 0755 tools/sendtohawkbit_unstripped ${D}${bindir}/swupdate-sendtohawkbit
  14. }