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>
This commit is contained in:
parent
ed07f43e68
commit
9fe7738f4a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue