mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
waf-samba: switch to python3
refer this link:
63d20d7822 (diff-ddc0f7d4ad007f8ee36297b5887dcd24)
waf will support python3 by default, so switch to python3
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
190915fd9f
commit
9c74be25c9
|
|
@ -1,9 +1,9 @@
|
||||||
# waf is a build system which is used by samba related project.
|
# waf is a build system which is used by samba related project.
|
||||||
# Obtain details from https://wiki.samba.org/index.php/Waf
|
# Obtain details from https://wiki.samba.org/index.php/Waf
|
||||||
#
|
#
|
||||||
inherit qemu pythonnative
|
inherit qemu python3native
|
||||||
|
|
||||||
DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python"
|
DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3"
|
||||||
|
|
||||||
CONFIGUREOPTS = " --prefix=${prefix} \
|
CONFIGUREOPTS = " --prefix=${prefix} \
|
||||||
--bindir=${bindir} \
|
--bindir=${bindir} \
|
||||||
|
|
@ -111,7 +111,7 @@ do_configure() {
|
||||||
|
|
||||||
do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
|
do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
|
||||||
do_compile () {
|
do_compile () {
|
||||||
python ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)}
|
python3 ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user