diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-23 15:50:40 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2022-03-21 04:15:10 -1000 |
commit | e997487c0068bfe4017fc98c4fa5b51f660a1b4e (patch) | |
tree | 448d28d71859ecc8f197e8237c541b06caf9f2af | |
parent | 9e3758114cbc74d820c5904b81b011e5c4a1715b (diff) | |
download | openembedded-core-contrib-e997487c0068bfe4017fc98c4fa5b51f660a1b4e.tar.gz |
python3targetconfig: Use for nativesdk too
nativesdk is a cross compiled target and therefore should use the target
config, not the native one. Copy the target entries accordingly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1b5fec350b390fa7f2d26966df1411b032faf87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/python3targetconfig.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/python3targetconfig.bbclass b/meta/classes/python3targetconfig.bbclass index fc1025c207..a6e67f1bf8 100644 --- a/meta/classes/python3targetconfig.bbclass +++ b/meta/classes/python3targetconfig.bbclass @@ -15,3 +15,15 @@ do_compile_prepend_class-target() { do_install_prepend_class-target() { export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" } + +do_configure:prepend:class-nativesdk() { + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" +} + +do_compile:prepend:class-nativesdk() { + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" +} + +do_install:prepend:class-nativesdk() { + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" +} |