aboutsummaryrefslogtreecommitdiff
path: root/tcwg-benchmark-christophe.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-05-16 16:59:39 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-05-16 16:59:39 +0000
commitf82039a17843b4e74fe71132c06b2c2039d15048 (patch)
tree99a63475c7ce509434712fd1daf1450089d36aa0 /tcwg-benchmark-christophe.yaml
parent7327fb9e9b6569a36866a255e814f6ff89dca265 (diff)
tcwg-benchmark-christophe: Pass cflags only if non-empty.
Empty parameters are not encoded properly because of the double ssh command we use (the second one does not encode "" in the parameters leading to a missing value). Change-Id: Id0c799d8d3a586a5fb4c726dabfba44fb80c36ee
Diffstat (limited to 'tcwg-benchmark-christophe.yaml')
-rw-r--r--tcwg-benchmark-christophe.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-benchmark-christophe.yaml b/tcwg-benchmark-christophe.yaml
index d626532fea..fff2acc2ac 100644
--- a/tcwg-benchmark-christophe.yaml
+++ b/tcwg-benchmark-christophe.yaml
@@ -122,7 +122,7 @@
# FIXME: bench_list can contain more than one bench
build_container_exec ssh -t -A ${ssh_opts} $boardname bmk-scripts/run.sh \
--bench ${bench_list} \
- --cflags "${cflags}" \
+ ${cflags:+--cflags "${cflags}"} \
--config ${config} \
--ccprefix $build_container_host:$build_container_port:$ccprefix \
--sysroot "$sysroot" \