mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 08:40:14 +02:00
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>
This commit is contained in:
@@ -11,9 +11,6 @@ set -u -e
|
|||||||
eval "$(setvars "" vdir relname src_dirname srcdir _nogit _xm target romdir \
|
eval "$(setvars "" vdir relname src_dirname srcdir _nogit _xm target romdir \
|
||||||
microcode_required mode)"
|
microcode_required mode)"
|
||||||
|
|
||||||
_f="coreboot u-boot seabios flashrom grub memtest86plus uefitool"
|
|
||||||
_f="${_f} bios_extract biosutilities pico-serprog stm32-vserprog"
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
vdir="release"
|
vdir="release"
|
||||||
@@ -85,8 +82,9 @@ build_release()
|
|||||||
|
|
||||||
fetch_trees()
|
fetch_trees()
|
||||||
{
|
{
|
||||||
for x in ${_f}; do
|
for x in config/git/*; do
|
||||||
./update trees -f "${x}" || err "${_xm}: fetch ${x}"
|
[ ! -f "${x}" ] || ./update trees -f "${x#config/git/}" || \
|
||||||
|
err "${_xm}: fetch ${x#config/git/}"
|
||||||
done
|
done
|
||||||
for x in config/*/build.list; do
|
for x in config/*/build.list; do
|
||||||
[ -f "${x}" ] || continue
|
[ -f "${x}" ] || continue
|
||||||
|
|||||||
Reference in New Issue
Block a user