Browse Source

swupdate: tools rules from master

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 7 năm trước cách đây
mục cha
commit
26cdc37fa4
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      recipes-support/swupdate/swupdate_tools.inc

+ 17 - 0
recipes-support/swupdate/swupdate_tools.inc

@@ -0,0 +1,17 @@
+PACKAGES =+ "${PN}-tools"
+
+INSANE_SKIP_${PN}-tools = "ldflags"
+
+FILES_${PN}-tools = "${bindir}/swupdate-client \
+                    ${bindir}/swupdate-progress \
+                    ${bindir}/swupdate-hawkbitcfg \
+                    ${bindir}/swupdate-sendtohawkbit"
+
+do_install_append () {
+
+  install -m 0755 tools/client_unstripped ${D}${bindir}/swupdate-client
+  install -m 0755 tools/progress_unstripped ${D}${bindir}/swupdate-progress
+  install -m 0755 tools/hawkbitcfg_unstripped ${D}${bindir}/swupdate-hawkbitcfg
+  install -m 0755 tools/sendtohawkbit_unstripped ${D}${bindir}/swupdate-sendtohawkbit
+
+}