update/release: don't hardcode project names

config/git has been re-arranged in a prior revision,
ensuring that each file only refers to a main source
tree defined within those files.

the erstwhile "./build clean all" functionality is now
once again possible in lbmk

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-20 06:53:25 +01:00
parent d245e0b1b4
commit 0375cfaf1c
1 changed files with 3 additions and 5 deletions

View File

@ -11,9 +11,6 @@ set -u -e
eval "$(setvars "" vdir relname src_dirname srcdir _nogit _xm target romdir \
microcode_required mode)"
_f="coreboot u-boot seabios flashrom grub memtest86plus uefitool"
_f="${_f} bios_extract biosutilities pico-serprog stm32-vserprog"
main()
{
vdir="release"
@ -85,8 +82,9 @@ build_release()
fetch_trees()
{
for x in ${_f}; do
./update trees -f "${x}" || err "${_xm}: fetch ${x}"
for x in config/git/*; do
[ ! -f "${x}" ] || ./update trees -f "${x#config/git/}" || \
err "${_xm}: fetch ${x#config/git/}"
done
for x in config/*/build.list; do
[ -f "${x}" ] || continue