aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/python3targetconfig.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/python3targetconfig.bbclass')
-rw-r--r--meta/classes/python3targetconfig.bbclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/classes/python3targetconfig.bbclass b/meta/classes/python3targetconfig.bbclass
index 640d0c97b6d..fc1025c2078 100644
--- a/meta/classes/python3targetconfig.bbclass
+++ b/meta/classes/python3targetconfig.bbclass
@@ -1,15 +1,17 @@
inherit python3native
-DEPENDS_append = " python3"
+EXTRA_PYTHON_DEPENDS ?= ""
+EXTRA_PYTHON_DEPENDS_class-target = "python3"
+DEPENDS_append = " ${EXTRA_PYTHON_DEPENDS}"
-do_configure_prepend() {
+do_configure_prepend_class-target() {
export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
}
-do_compile_prepend() {
+do_compile_prepend_class-target() {
export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
}
-do_install_prepend() {
+do_install_prepend_class-target() {
export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
}