mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 01:36:38 +01:00
Move classes to classes-global or classes-recipe as appropriate to take advantage of new bitbake functionality to check class scope/usage. (From OE-Core rev: f5c128008365e141082c129417eb72d2751e8045) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
817 B
Plaintext
36 lines
817 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
inherit python3native
|
|
|
|
EXTRA_PYTHON_DEPENDS ?= ""
|
|
EXTRA_PYTHON_DEPENDS:class-target = "python3"
|
|
DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}"
|
|
|
|
do_configure:prepend:class-target() {
|
|
export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
|
|
}
|
|
|
|
do_compile:prepend:class-target() {
|
|
export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
|
|
}
|
|
|
|
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"
|
|
}
|