mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
(From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
+4
-4
@@ -280,17 +280,17 @@ setup_tmpdir() {
|
||||
}
|
||||
|
||||
setup_sysroot() {
|
||||
# Toolchain installs set up $POKY_NATIVE_SYSROOT in their
|
||||
# Toolchain installs set up $OECORE_NATIVE_SYSROOT in their
|
||||
# environment script. If that variable isn't set, we're
|
||||
# either in an in-tree poky scenario or the environment
|
||||
# script wasn't source'd.
|
||||
if [ -z "$POKY_NATIVE_SYSROOT" ]; then
|
||||
if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
|
||||
setup_tmpdir
|
||||
BUILD_ARCH=`uname -m`
|
||||
BUILD_OS=`uname | tr '[A-Z]' '[a-z]'`
|
||||
BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
|
||||
|
||||
POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
|
||||
OECORE_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -380,7 +380,7 @@ echo "ROOTFS: [$ROOTFS]"
|
||||
echo "FSTYPE: [$FSTYPE]"
|
||||
|
||||
setup_sysroot
|
||||
# POKY_NATIVE_SYSROOT is now set for all cases
|
||||
# OECORE_NATIVE_SYSROOT is now set for all cases
|
||||
|
||||
# We can't run without a libGL.so
|
||||
libgl='no'
|
||||
|
||||
Reference in New Issue
Block a user