mirror of
git://git.yoctoproject.org/poky.git
synced 2025-08-22 00:42:05 +02: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: b1b5fec350b390fa7f2d26966df1411b032faf87) 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"
|
|
}
|