diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-24 20:35:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-29 11:17:22 +0100 |
commit | 52493384aad6ed3dc25e36b0a34f5fd5489e00cc (patch) | |
tree | 963707ee9b15694d96ded5068d7199b141424abf | |
parent | 9784ad79a4d0b75507f1bdff8454e86aabb8f759 (diff) | |
download | poky-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-x | scripts/oe-find-native-sysroot | 1 |
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 |
49 | BITBAKE_E="" | 49 | BITBAKE_E="" |
50 | OECORE_NATIVE_SYSROOT="" | ||
51 | set_oe_native_sysroot(){ | 50 | set_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`" |