summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-13 18:25:51 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-04-17 19:51:23 -0700
commitecd13789dd643443c04e6b174e33b82324d4cc8f (patch)
treec0468a03afced2207871b2c4db17703257a99380
parent37aac647d510557323083c77c3114476440a325d (diff)
downloadopenembedded-core-contrib-ecd13789dd643443c04e6b174e33b82324d4cc8f.tar.gz
openembedded-core-contrib-ecd13789dd643443c04e6b174e33b82324d4cc8f.tar.bz2
openembedded-core-contrib-ecd13789dd643443c04e6b174e33b82324d4cc8f.zip
buildtools-tarball.bb: fix unexpected operator
Fixed: run.create_sdk_files.45747: 131: [: =: unexpected operator The SDKMACHINE is not set by default. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/recipes-core/meta/buildtools-tarball.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 7186ac4aa1..d39bd9ac51 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -58,7 +58,7 @@ create_sdk_files_append () {
echo 'export GIT_SSL_CAINFO="${SDKPATHNATIVE}${sysconfdir}/ssl/certs/ca-certificates.crt"' >>$script
- if [ ${SDKMACHINE} = "i686" ]; then
+ if [ "${SDKMACHINE}" = "i686" ]; then
echo 'export NO32LIBS="0"' >>$script
echo 'echo "$BB_ENV_EXTRAWHITE" | grep -q "NO32LIBS"' >>$script
echo '[ $? != 0 ] && export BB_ENV_EXTRAWHITE="NO32LIBS $BB_ENV_EXTRAWHITE"' >>$script