1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-11 15:00:39 +00:00

arm/hafnium: split configure/compile and call ninja directly

Split configure/compile and invoke ninja directly so that we can
control parallelisation.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2025-11-13 14:01:36 +00:00
committed by Jon Mason
parent 548a5a8c36
commit a48f0afe7f

View File

@@ -40,11 +40,15 @@ EXTRA_OEMAKE += "PLATFORM=${HAFNIUM_PLATFORM}"
# Don't use prebuilt binaries for gn and ninja
EXTRA_OEMAKE += "GN=${STAGING_BINDIR_NATIVE}/gn NINJA=${STAGING_BINDIR_NATIVE}/ninja"
do_configure() {
oe_runmake -C ${S} ${B}/build.ninja
}
do_configure[cleandirs] += "${B}"
do_compile() {
oe_runmake -C ${S}
ninja -v ${PARALLEL_MAKE}
}
do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
do_install() {
cd ${B}/${HAFNIUM_PLATFORM}_clang