diff options
author | Dmitriy Makhnin <d.makhnin@yadro.com> | 2025-03-13 17:14:33 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-13 22:09:36 -0700 |
commit | ae1133e17414e3f3af86010e7c3c307f40d8c7ca (patch) | |
tree | 4f0da068f9be8d0797d55b954cf484a20b5ce091 /meta-networking | |
parent | 3457231e706ffc86b6f6ef99abe09cb9626552c7 (diff) | |
download | meta-openembedded-ae1133e17414e3f3af86010e7c3c307f40d8c7ca.tar.gz |
waf-samba: using python variable from python3native.bbclass
Waf-samba.bbclass inherits python3native.bbclass
which has the variable PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3".
This allows this variable to be used in do_compile instead of python3.
Signed-off-by: Dmitry Makhnin <d.makhnin@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/classes/waf-samba.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass index 79acacc989..cb78ce6b0d 100644 --- a/meta-networking/classes/waf-samba.bbclass +++ b/meta-networking/classes/waf-samba.bbclass | |||
@@ -113,7 +113,7 @@ do_configure() { | |||
113 | 113 | ||
114 | do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+" | 114 | do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+" |
115 | do_compile () { | 115 | do_compile () { |
116 | python3 ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} | 116 | $PYTHON ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} |
117 | } | 117 | } |
118 | 118 | ||
119 | do_install() { | 119 | do_install() { |