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-29 11:17:22 +0100
commit52493384aad6ed3dc25e36b0a34f5fd5489e00cc (patch)
tree963707ee9b15694d96ded5068d7199b141424abf
parent9784ad79a4d0b75507f1bdff8454e86aabb8f759 (diff)
downloadpoky-52493384aad6ed3dc25e36b0a34f5fd5489e00cc.tar.gz
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] (From OE-Core rev: 91faa9132821db4e7010b79943b2cfb804d6f4c5) 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
47 47
48# Global vars 48# Global vars
49BITBAKE_E="" 49BITBAKE_E=""
50OECORE_NATIVE_SYSROOT=""
51set_oe_native_sysroot(){ 50set_oe_native_sysroot(){
52 echo "Running bitbake -e $1" 51 echo "Running bitbake -e $1"
53 BITBAKE_E="`bitbake -e $1`" 52 BITBAKE_E="`bitbake -e $1`"