swupdate_tools.inc 693 B

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