Revert "scripts: change way we find native tools (pseudo)"
This reverts commit f200f37699
.
This reverts the patch that fixed runqemu-extract-sdk. It failed
to fix other issues in the script/tools that were introduced by RSS. The
following patch from Robert Yang fixes both. Therefore, reverting this
patch in favor of his.
(From OE-Core rev: 33263b69e6b470b4f02172dabe6815df8ab0cd0a)
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4273422072
commit
5897c5edc4
|
@ -54,10 +54,10 @@ if [ "x$OECORE_NATIVE_SYSROOT" = "x" ]; then
|
|||
exit 1
|
||||
fi
|
||||
touch conf/sanity.conf
|
||||
OECORE_NATIVE_SYSROOT=`bitbake -e meta-ide-support | grep ^RECIPE_SYSROOT_NATIVE | cut -d '"' -f2`
|
||||
OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '"' -f2`
|
||||
rm -f conf/sanity.conf
|
||||
else
|
||||
OECORE_NATIVE_SYSROOT=`bitbake -e meta-ide-support | grep ^RECIPE_SYSROOT_NATIVE | cut -d '"' -f2`
|
||||
OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '"' -f2`
|
||||
fi
|
||||
else
|
||||
echo "Error: Unable to locate bitbake command."
|
||||
|
@ -72,7 +72,7 @@ fi
|
|||
if [ "x$OECORE_NATIVE_SYSROOT" = "x" ]; then
|
||||
# This indicates that there was an error running bitbake -e that
|
||||
# the user needs to be informed of
|
||||
echo "There was an error running bitbake to determine RECIPE_SYSROOT_NATIVE"
|
||||
echo "There was an error running bitbake to determine STAGING_DIR_NATIVE"
|
||||
echo "Here is the output from bitbake -e"
|
||||
bitbake -e
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue