diff options
author | Leah Rowe <leah@libreboot.org> | 2023-08-28 09:42:20 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-08-28 11:23:23 +0100 |
commit | d9292cec6a2a598dca0a4e56b1c97e71856baaba (patch) | |
tree | 0e3dc542a60f352fd6fe1e3efab9d8cbf7e6aca7 /script/build/command | |
parent | 4623f3f2b204a5946ee26176beaa911b427cc0c2 (diff) |
build/boot/roms: use the new coding style
lbmk's new style is inspired by the bsd coding styles:
top-down logic, main simplified to a skeleton showing
overall program structure, variables well-defined,
rigorous (yet deceptively simple) error checking.
this was attempted before, but caused problems; coreboot
wasn't being cleaned properly, and rather than audit it,
i simply reverted this back to the old style.
this is actually attempt number 5, because i made 3 more
attempts between then and this one. i've build-tested this
using "./build boot roms all" (which is what b0rked on
the first attempt, months ago). it should be stable(tm).
the code is much nicer to read / work on now. this is the
beating heart of lbmk. get this script wrong, and you break
all of libreboot.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/command')
0 files changed, 0 insertions, 0 deletions