blob: 3f89e5e09e24b78e278f11f24bd5a5e89abb156d [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7inherit python3native
8
9EXTRA_PYTHON_DEPENDS ?= ""
10EXTRA_PYTHON_DEPENDS:class-target = "python3"
11DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}"
12
13do_configure:prepend:class-target() {
14 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
15}
16
17do_compile:prepend:class-target() {
18 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
19}
20
21do_install:prepend:class-target() {
22 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
23}
24
25do_configure:prepend:class-nativesdk() {
26 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
27}
28
29do_compile:prepend:class-nativesdk() {
30 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
31}
32
33do_install:prepend:class-nativesdk() {
34 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
35}