summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-04-17 19:57:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-18 16:28:22 +0100
commit9fe7738f4a567d1b00e94352d03bc5031583c259 (patch)
tree8279ec8e92b32937a0bf7c2cb2e4dd5b77a58a38
parented07f43e6898011d7b46eb1803c580e7a8cbfc93 (diff)
downloadopenembedded-core-contrib-9fe7738f4a567d1b00e94352d03bc5031583c259.tar.gz
openembedded-core-contrib-9fe7738f4a567d1b00e94352d03bc5031583c259.tar.bz2
openembedded-core-contrib-9fe7738f4a567d1b00e94352d03bc5031583c259.zip
buildtools-tarball.bb: fix unexpected operator
Fixed: run.create_sdk_files.45747: 131: [: =: unexpected operator The SDKMACHINE is not set by default. (From OE-Core rev: 528388c3cef027d436fc794c73d57a247521c238) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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