summaryrefslogtreecommitdiffstats
path: root/wgt
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-15 07:57:00 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-06-15 07:57:00 +0000
commit8d9b7f22c821e149a09824df50a6775fac43a977 (patch)
treefcdfe8d60457e66c5ab4dd75b3afe04b2c9fc576 /wgt
parent5a83e479e50eff90f1d98bd74a9f933a6340e3f6 (diff)
parentb0a2632e28f03dd664b959f7f4b038741a62678b (diff)
Merge changes I81a6d9f6,I67698bbb
* changes: Fix: remove old bug about overwriten variables. Fix gdb debugging and add widget install on target
Diffstat (limited to 'wgt')
-rw-r--r--wgt/install-wgt-on-target.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/wgt/install-wgt-on-target.in b/wgt/install-wgt-on-target.in
new file mode 100644
index 0000000..39a69d5
--- /dev/null
+++ b/wgt/install-wgt-on-target.in
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# File: install-wgt-on-target.sh
+# Author: Sebastien Douheret @ IoT.bzh
+# Object: install widget on target
+# Created on 24-May-2017, 09:23:37
+# Usage:
+
+# Do not change manually use 'make remote-target-populate'
+export RSYNC_TARGET=@RSYNC_TARGET@
+export WGT_FILE_L=@CMAKE_CURRENT_BINARY_DIR@/@PROJECT_NAME@.wgt
+export WGT_FILE_T=/tmp/@PROJECT_NAME@.wgt
+
+scp $WGT_FILE_L $RSYNC_TARGET:$WGT_FILE_T \
+ && ssh -o "StrictHostKeyChecking no" -tt $RSYNC_TARGET -- \
+ afm-util install $WGT_FILE_T
+
+# && rm -f $WGT_FILE_T
+