summaryrefslogtreecommitdiff
path: root/include/rom.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-06 07:44:38 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-06 07:44:38 +0100
commitafccecbde01ce657bc7a65c2f69f9b4fbd958739 (patch)
tree39627f4252d015b18731c4ab03cc1fd669f6a322 /include/rom.sh
parent7d597bc4a1867089eadbd8ab0f6784f57a186cad (diff)
rom.sh: don't run add_cbfs_option on dry builds
i added this in an earlier version of the patch, but for some reason removed it. this is necessary, or the build system will fail. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r--include/rom.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 19637b6c..b1c3c559 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -236,7 +236,8 @@ mkcorebootbin_real()
fi
if [ -f "$cbfscfg" ]; then
- dx_ add_cbfs_option "$cbfscfg"
+ $if_not_dry_build \
+ dx_ add_cbfs_option "$cbfscfg"
fi
if $if_not_dry_build grep "CONFIG_PAYLOAD_NONE=y" "$defconfig"; then