diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-04-17 19:57:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-18 16:27:45 +0100 |
commit | 528388c3cef027d436fc794c73d57a247521c238 (patch) | |
tree | 4aaa98933ccb1783d33c750f259a0a64c577d78c | |
parent | 4ed2a6d43ea19a3026d94666fc342493689d7d46 (diff) | |
download | openembedded-core-528388c3cef027d436fc794c73d57a247521c238.tar.gz openembedded-core-528388c3cef027d436fc794c73d57a247521c238.tar.bz2 openembedded-core-528388c3cef027d436fc794c73d57a247521c238.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>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 2 |
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 |