mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 14:09:47 +00:00
ninja: use Python 3
As part of the mission to remove the use of Python 2, explicitly bootstrap Ninja with Python 3. (From OE-Core rev: b6a84fff1fbdab49af626d221085f3c052c4021d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d19cbe3af5
commit
e186617d0a
@@ -17,11 +17,11 @@ S = "${WORKDIR}/git"
|
||||
do_configure[noexec] = "1"
|
||||
|
||||
do_compile_class-native() {
|
||||
./configure.py --bootstrap
|
||||
python3 ./configure.py --bootstrap
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
./configure.py
|
||||
python3 ./configure.py
|
||||
ninja
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user