mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
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>
30 lines
741 B
Plaintext
30 lines
741 B
Plaintext
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"
|
|
}
|