summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-22 19:49:37 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-22 19:49:37 +0100
commitbb05cb5f06f3b0fb926be0faebf189b57e0b7c81 (patch)
tree29028c68f4f73864329c781d56196d3fa1ccd1c5 /mk
parent336ba8560529c98fdf213fd246131e9aa655ef5a (diff)
rom.sh: properly cook coreboot configs
new mkhelper variable added: cook_config Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'mk')
-rwxr-xr-xmk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk b/mk
index 036b6714..4f3340d5 100755
--- a/mk
+++ b/mk
@@ -89,7 +89,7 @@ eval "`newvar if_not_make_config if_not_build if_not_dry_build if_not_fetch`"
cfgvars="autogenargs cmakedir configureargs badhash badtghash bootstrapargs \
build_depend cleanargs fetch_depend makeargs mkhelper noconfig postmake \
premake release rev tree xarch xgcctree xlang cfgname defscan \
- if_not_skip_build"
+ if_not_skip_build cook_config"
eval "`newvar buildcfg dest_dir elfdir flag forcepull listfile mdir \
mkhelpercfg mode project srcdir target target_dir _tcfg \
@@ -391,6 +391,9 @@ run_make_command()
$if_build \
check_autoconf "$srcdir"
+ $if_build \
+ x_ $cook_config
+
check_makefile "$srcdir" && \
x_ make -C "$srcdir" $mode -j$XBMK_THREADS $makeargs
}