mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
populate_sdk_ext.bclass: make sure OECORE_NATIVE_SYSROOT is exported.
Fixes bug 15464. OECORE_NATIVE_SYSROOT is correctly set up and exported in the SDK's environment file. But it's then unset in buildtools/environment-setup-*. The value is restored in the SDK's environment file but is not exported again. (From OE-Core rev: bdf07c1eb23dbb53ad1df415b665c8f459320420) Signed-off-by: Gauthier HADERER <ghaderer@wyplay.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 825c996b7995d3ad510933b1a88229831ca5ea29) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
a1bf211880
commit
3ecf8641bb
@@ -732,7 +732,7 @@ sdk_ext_postinst() {
|
|||||||
echo "# Save and reset OECORE_NATIVE_SYSROOT as buildtools may change it" >> $env_setup_script
|
echo "# Save and reset OECORE_NATIVE_SYSROOT as buildtools may change it" >> $env_setup_script
|
||||||
echo "SAVED=\"\$OECORE_NATIVE_SYSROOT\"" >> $env_setup_script
|
echo "SAVED=\"\$OECORE_NATIVE_SYSROOT\"" >> $env_setup_script
|
||||||
echo ". $target_sdk_dir/buildtools/environment-setup*" >> $env_setup_script
|
echo ". $target_sdk_dir/buildtools/environment-setup*" >> $env_setup_script
|
||||||
echo "OECORE_NATIVE_SYSROOT=\"\$SAVED\"" >> $env_setup_script
|
echo "export OECORE_NATIVE_SYSROOT=\"\$SAVED\"" >> $env_setup_script
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Allow bitbake environment setup to be ran as part of this sdk.
|
# Allow bitbake environment setup to be ran as part of this sdk.
|
||||||
|
|||||||
Reference in New Issue
Block a user