summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-04-24 20:35:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-28 09:16:03 +0100
commit91faa9132821db4e7010b79943b2cfb804d6f4c5 (patch)
tree3c6efc9db710c3e2e13302307e6d8cc7191f14c5
parenta31b1434c5f1edbd4e8faca813b4f084297c061d (diff)
downloadopenembedded-core-contrib-91faa9132821db4e7010b79943b2cfb804d6f4c5.tar.gz
openembedded-core-contrib-91faa9132821db4e7010b79943b2cfb804d6f4c5.tar.bz2
openembedded-core-contrib-91faa9132821db4e7010b79943b2cfb804d6f4c5.zip
oe-find-native-sysroot: don't clear OECORE_NATIVE_SYSROOT
The OECORE_NATIVE_SYSROOT may come from environment vars, so don't clear it, otherwise it broke runqemu-extract-sdk on sdk. [YOCTO #11409] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-find-native-sysroot1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot
index 5c8681efce..235a67c95c 100755
--- a/scripts/oe-find-native-sysroot
+++ b/scripts/oe-find-native-sysroot
@@ -47,7 +47,6 @@ fi
# Global vars
BITBAKE_E=""
-OECORE_NATIVE_SYSROOT=""
set_oe_native_sysroot(){
echo "Running bitbake -e $1"
BITBAKE_E="`bitbake -e $1`"