From d7a9f1a6ee0418351f33a143c7296d66ac2514de Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 11 Jul 2017 18:41:11 +0200 Subject: [PATCH] build.sh: fix parsing of platform data As the platform data is only separated by spaces, the data is assigned to the incorrect variable: ccardimx28js variants: - ccardimx28js targets: e w wb web web1 dey-image-qt After this commit: ccardimx28js variants: - e w wb web web1 ccardimx28js targets: dey-image-qt Signed-off-by: Javier Viguera --- sdk/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/build.sh b/sdk/build.sh index fff800d17..b34f424bc 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -166,10 +166,10 @@ while read _pl _var _tgt; do fi fi [ -n "${DY_TARGET}" ] && _tgt="${DY_TARGET}" || true - eval "${_pl}_var=\"${_var}\"" - eval "${_pl}_tgt=\"${_tgt}\"" + eval "${_pl}_var=\"${_var//,/ }\"" + eval "${_pl}_tgt=\"${_tgt//,/ }\"" done<<-_EOF_ - ccardimx28js - e w wb web web1 dey-image-qt + ccardimx28js -,e,w,wb,web,web1 dey-image-qt ccimx6sbc DONTBUILDVARIANTS dey-image-qt ccimx6ulsbc DONTBUILDVARIANTS dey-image-qt ccimx6ulstarter DONTBUILDVARIANTS core-image-base