diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-23 15:50:40 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-23 23:16:12 +0000 |
| commit | 4c3d1b0120c7618024561ac50ff009f5aee0d992 (patch) | |
| tree | 53ed9c3d72ca61a4fc06fa423a46a9b8755db735 /meta/classes/python3targetconfig.bbclass | |
| parent | 08b8cd174d823eeccb1a505ac68e753f5eb4a43e (diff) | |
| download | poky-4c3d1b0120c7618024561ac50ff009f5aee0d992.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.
(From OE-Core rev: e997487c0068bfe4017fc98c4fa5b51f660a1b4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1b5fec350b390fa7f2d26966df1411b032faf87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/python3targetconfig.bbclass')
| -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() { | |||
| 15 | do_install_prepend_class-target() { | 15 | do_install_prepend_class-target() { |
| 16 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" | 16 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 17 | } | 17 | } |
| 18 | |||
| 19 | do_configure:prepend:class-nativesdk() { | ||
| 20 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" | ||
| 21 | } | ||
| 22 | |||
| 23 | do_compile:prepend:class-nativesdk() { | ||
| 24 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install:prepend:class-nativesdk() { | ||
| 28 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" | ||
| 29 | } | ||
