Restore multicore build support with kernel-bootstrap

This was removed as part of the simplify refactor, severely slowing
down qemu and bare-metal builds. Restoring it brings us back to the
same build times that we saw before the refactor.
This commit is contained in:
Gábor Stefanik 2024-01-01 23:18:55 +01:00
parent a76fac4fa7
commit 50d1d68f99
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#!/bin/sh
#
# SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# Finalize job count once SMP support is available
cat >> /steps/bootstrap.cfg <<- EOF
JOBS=${FINAL_JOBS}
EOF
. /steps/bootstrap.cfg
. /steps/env