diff options
| author | Gauthier HADERER <ghaderer@wyplay.com> | 2024-06-27 10:42:42 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-08-26 05:18:44 -0700 |
| commit | 3ecf8641bb7c7b194a4bb33d7b4d61ea6823f5a0 (patch) | |
| tree | 8b5aef1acafccf18464c8e504b032ae0c5f14bda /meta | |
| parent | a1bf21188062fdf2b20e9ea2d48192c2dd519c54 (diff) | |
| download | poky-3ecf8641bb7c7b194a4bb33d7b4d61ea6823f5a0.tar.gz | |
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>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes-recipe/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index 09d5e2aeb6..e76ef60720 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass | |||
| @@ -732,7 +732,7 @@ sdk_ext_postinst() { | |||
| 732 | echo "# Save and reset OECORE_NATIVE_SYSROOT as buildtools may change it" >> $env_setup_script | 732 | echo "# Save and reset OECORE_NATIVE_SYSROOT as buildtools may change it" >> $env_setup_script |
| 733 | echo "SAVED=\"\$OECORE_NATIVE_SYSROOT\"" >> $env_setup_script | 733 | echo "SAVED=\"\$OECORE_NATIVE_SYSROOT\"" >> $env_setup_script |
| 734 | echo ". $target_sdk_dir/buildtools/environment-setup*" >> $env_setup_script | 734 | echo ". $target_sdk_dir/buildtools/environment-setup*" >> $env_setup_script |
| 735 | echo "OECORE_NATIVE_SYSROOT=\"\$SAVED\"" >> $env_setup_script | 735 | echo "export OECORE_NATIVE_SYSROOT=\"\$SAVED\"" >> $env_setup_script |
| 736 | fi | 736 | fi |
| 737 | 737 | ||
| 738 | # Allow bitbake environment setup to be ran as part of this sdk. | 738 | # Allow bitbake environment setup to be ran as part of this sdk. |
