diff options
Diffstat (limited to 'meta/classes-recipe/python3targetconfig.bbclass')
| -rw-r--r-- | meta/classes-recipe/python3targetconfig.bbclass | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/classes-recipe/python3targetconfig.bbclass b/meta/classes-recipe/python3targetconfig.bbclass deleted file mode 100644 index 08bc619398..0000000000 --- a/meta/classes-recipe/python3targetconfig.bbclass +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Copyright OpenEmbedded Contributors | ||
| 3 | # | ||
| 4 | # SPDX-License-Identifier: MIT | ||
| 5 | # | ||
| 6 | |||
| 7 | inherit python3native | ||
| 8 | |||
| 9 | EXTRA_PYTHON_DEPENDS ?= "" | ||
| 10 | EXTRA_PYTHON_DEPENDS:class-target = "python3" | ||
| 11 | DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}" | ||
| 12 | |||
| 13 | setup_target_config() { | ||
| 14 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" | ||
| 15 | export PYTHONPATH=${STAGING_LIBDIR}/python-sysconfigdata:$PYTHONPATH | ||
| 16 | export PATH=${STAGING_EXECPREFIXDIR}/python-target-config/:$PATH | ||
| 17 | } | ||
| 18 | |||
| 19 | do_configure:prepend:class-target() { | ||
| 20 | setup_target_config | ||
| 21 | } | ||
| 22 | |||
| 23 | do_compile:prepend:class-target() { | ||
| 24 | setup_target_config | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install:prepend:class-target() { | ||
| 28 | setup_target_config | ||
| 29 | } | ||
| 30 | |||
| 31 | do_configure:prepend:class-nativesdk() { | ||
| 32 | setup_target_config | ||
| 33 | } | ||
| 34 | |||
| 35 | do_compile:prepend:class-nativesdk() { | ||
| 36 | setup_target_config | ||
| 37 | } | ||
| 38 | |||
| 39 | do_install:prepend:class-nativesdk() { | ||
| 40 | setup_target_config | ||
| 41 | } | ||
