diff options
author | Leah Rowe <leah@libreboot.org> | 2022-12-05 00:10:07 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2022-12-05 00:10:07 +0000 |
commit | 137b5434d75352d2a0ddd56d5cc25ba59d9b0c5a (patch) | |
tree | 66fc798c5d8dd62be2c2e0f7ab04f7df5364ae75 /resources/scripts/build/boot/roms_helper | |
parent | 7679c8e0f0c4e7b93941d2309a742dc3fa2f3276 (diff) |
remove logic for avoiding nonredistributable blobs
the --nuke option in ifdtool will be used instead, to nuke
the ME regions in specific rom sets (and cbfstool will be
used to delete mrc.bin files from rom sets)
the new method being implemented is heavier on disk io, but
simplifies lbmk, and disk io could still be optimised in
the following ways:
* when copying roms from boards with ME in them, use
ifdtool --nuke to get filename.rom.new, and *move* (not copy)
filename.rom.new to the new destination (for use with tar)
* possibly modify ifdtool to make efficient use of mmap for
disk i/o; it currently loads entire roms into an allocated
buffer in memory
Diffstat (limited to 'resources/scripts/build/boot/roms_helper')
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper index 40c0f394..bd1f3860 100755 --- a/resources/scripts/build/boot/roms_helper +++ b/resources/scripts/build/boot/roms_helper @@ -30,13 +30,6 @@ set -u -e projectname="$(cat projectname)" -if [ "${1}" = "deblobbed" ]; then - deblobbed=true - shift -else - deblobbed=false -fi - displaymodes="" payloads="" keyboard_layouts="" @@ -315,11 +308,7 @@ moverom() { # expected: configs must not specify a payload mkCoreboot() { cbdir="${1}" # e.g. coreboot/default - if ${deblobbed} ; then - cbcfgpath="${2}_deblobbed" - else - cbcfgpath="${2}" # e.g. resources/coreboot/x200_8mb/config/libgfxinit_txtmode - fi + cbcfgpath="${2}" # e.g. resources/coreboot/x200_8mb/config/libgfxinit_txtmode if [ ! -f "${cbcfgpath}" ]; then printf "\nmkCoreboot: Coreboot config '%s' does not exist. Skipping build.\n" \ "${cbcfgpath}" |