diff mbox series

[meta-swupdate,morty,2/3] swupdate: tools rules from master

Message ID 1522239624-19924-2-git-send-email-sbabic@denx.de
State Accepted
Headers show
Series None | expand

Commit Message

Stefano Babic March 28, 2018, 12:20 p.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 recipes-support/swupdate/swupdate_tools.inc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 recipes-support/swupdate/swupdate_tools.inc
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate_tools.inc b/recipes-support/swupdate/swupdate_tools.inc
new file mode 100644
index 0000000..311b36e
--- /dev/null
+++ b/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
+
+}