diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-20 16:35:49 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-20 16:35:49 +0100 |
| commit | 8c50373d5977d630626b14719977dc51a3ae2bdf (patch) | |
| tree | d7cb9efbf9b68970eb2490816bca5c5eb7b572da /include | |
| parent | a0302da7c67379b9c52501e8bb25f583f99ed6c2 (diff) | |
mk: simplify release=n handling
don't execute mkhelpers either
skip is fetched. this means that if a given
target says release=n, the corresponding source
won't be downloaded. if no targets specify that
source, then none will be.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/fw/rom.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/fw/rom.sh b/include/fw/rom.sh index 839eaf0d..fcd2d30a 100644 --- a/include/fw/rom.sh +++ b/include/fw/rom.sh @@ -57,9 +57,6 @@ mkpayload_grub() corebootpremake() { - [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && \ - return 0 - forx 'check_coreboot_util %s' cbfstool ifdtool printf "%s\n" "${version%%-*}" > "$srcdir/.coreboot-version" || \ @@ -99,17 +96,11 @@ check_coreboot_util() coreboot_pad_one_byte() { - [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && \ - return 0 - pad_one_byte "$srcdir/build/coreboot.rom" } mkcorebootbin() { - [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && \ - return 0 - for y in "$defscan"/*; do buildcfg="$y" mkcorebootbin_real @@ -383,11 +374,6 @@ cbfs() mkcoreboottar() { - if [ "$target" = "$tree" ] || [ "$XBMK_RELEASE" != "y" ] || \ - [ "$release" = "n" ]; then - return 0 - fi - mkrom_tarball "bin/$target" x_ "$mk" inject "bin/${relname}_${target}.tar.xz" nuke } |
