diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-07-02 09:58:06 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-07-10 09:24:32 -0700 |
commit | 9c74be25c9380cfd6015117c276ce19f253729a8 (patch) | |
tree | b7975b492f47e356779f22ea72a2fb6d0926541a | |
parent | 190915fd9f7f5f91d24fb926d12c4b53624b7ef2 (diff) | |
download | meta-openembedded-9c74be25c9380cfd6015117c276ce19f253729a8.tar.gz |
waf-samba: switch to python3
refer this link:
https://github.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314#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>
-rw-r--r-- | meta-networking/classes/waf-samba.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass index 1632c3c60..9c32952f6 100644 --- a/meta-networking/classes/waf-samba.bbclass +++ b/meta-networking/classes/waf-samba.bbclass | |||
@@ -1,9 +1,9 @@ | |||
1 | # waf is a build system which is used by samba related project. | 1 | # waf is a build system which is used by samba related project. |
2 | # Obtain details from https://wiki.samba.org/index.php/Waf | 2 | # Obtain details from https://wiki.samba.org/index.php/Waf |
3 | # | 3 | # |
4 | inherit qemu pythonnative | 4 | inherit qemu python3native |
5 | 5 | ||
6 | DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python" | 6 | DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3" |
7 | 7 | ||
8 | CONFIGUREOPTS = " --prefix=${prefix} \ | 8 | CONFIGUREOPTS = " --prefix=${prefix} \ |
9 | --bindir=${bindir} \ | 9 | --bindir=${bindir} \ |
@@ -111,7 +111,7 @@ do_configure() { | |||
111 | 111 | ||
112 | do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+" | 112 | do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+" |
113 | do_compile () { | 113 | do_compile () { |
114 | python ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} | 114 | python3 ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} |
115 | } | 115 | } |
116 | 116 | ||
117 | do_install() { | 117 | do_install() { |