diff options
| author | Leah Rowe <leah@libreboot.org> | 2023-10-20 06:53:25 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2023-10-20 07:37:51 +0100 | 
| commit | 0375cfaf1caa6f61ee2c860d71d8869d3761942a (patch) | |
| tree | 254081e9c1dccb242d694e8f1671b5d8088078bf | |
| parent | d245e0b1b4ad8d44be4b5350b8af2dbec7d8ba03 (diff) | |
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>
| -rwxr-xr-x | script/update/release | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/script/update/release b/script/update/release index a9208cb2..ff7aa99d 100755 --- a/script/update/release +++ b/script/update/release @@ -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  | 
