diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-15 09:19:08 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-10-15 18:22:47 +0200 |
commit | 72a19a0bd0b51fc2763fda9fbbba6b83e6b25902 (patch) | |
tree | 9b891bbf04d61ef0f6e4d9ac840fc5e283ef7813 /wgt/install-wgt-on-target.in | |
parent | f2786e8005d42808f1aafe0c5e008a59a0e3d5f2 (diff) |
Fix gdb debugging and add widget install on target
Change-Id: I67698bbbfa626e55cbe382afd7e9c5eb699f6149
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'wgt/install-wgt-on-target.in')
-rw-r--r-- | wgt/install-wgt-on-target.in | 19 |
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 + |