diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-23 15:50:40 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-25 12:41:23 +0000 |
| commit | 5f39a413d996e1e69d76365529e56803bfa408e6 (patch) | |
| tree | c589e42d845071dfb0429b24b0a3586f631f149b /meta/classes/python3targetconfig.bbclass | |
| parent | f8c99d2d66c1fb89b13bc73660a4ca85889a4f8a (diff) | |
| download | poky-5f39a413d996e1e69d76365529e56803bfa408e6.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: b1b5fec350b390fa7f2d26966df1411b032faf87)
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 5c8457acaa..2476858cae 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 | } | ||
