diff options
author | Leah Rowe <vimuser@noreply.codeberg.org> | 2023-09-12 13:50:22 +0000 |
---|---|---|
committer | Leah Rowe <vimuser@noreply.codeberg.org> | 2023-09-12 13:50:22 +0000 |
commit | 20bf3a19cd87e5e11aa50d2f7d1ccfb1e25410c0 (patch) | |
tree | a468e034d9a9b2df45f1930b6202cf73a97fe299 /script/build/release/src | |
parent | c400916e33b8870384c30b83a9ecb9cdf7121917 (diff) | |
parent | c3ac62b1734341777591376f08bd2ca5ed339990 (diff) |
Merge pull request 'make clean stm32-vserprog for release' (#130) from Riku_V/lbmk:makeclean into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/130
Diffstat (limited to 'script/build/release/src')
-rwxr-xr-x | script/build/release/src | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/script/build/release/src b/script/build/release/src index 86c435b2..d425638c 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -28,8 +28,9 @@ read projectname < projectname trees_fetch_list="coreboot u-boot seabios" simple_fetch_list="flashrom grub memtest86plus me_cleaner uefitool" simple_fetch_list="${simple_fetch_list} bios_extract biosutilities" +download_only_list="pico-serprog stm32-vserprog" -dirlist="config util script include" +dirlist="config util script include util-fw" linklist="build update handle" # symlinks in main directory, to script: lbmk filelist="lbmk README.md COPYING version versiondate projectname checkgit" filelist="${filelist} checkversion" @@ -87,7 +88,7 @@ download_modules() [ -d "${modname}" ] || ./update project trees ${modname} || \ err "download_modules: couldn't download ${modname} trees" done - for modname in ${simple_fetch_list}; do + for modname in ${simple_fetch_list} ${download_only_list}; do [ -d "${modname}/" ] || ./update project repo ${modname} || \ err "download_modules: couldn't download ${modname} repo" done @@ -152,6 +153,10 @@ purge_files() ./handle make file -c "${p}" || \ err "purge_files: !./handle make file -c ${p}" done + for p in "stm32-vserprog" "stm32-vserprog/libopencm3"; do + ./handle make file -c "util-fw/${p}" || \ + err "purge_files !./handle make file util-fw/${p}" + done for p in 32 64; do ./handle make file -c "memtest86plus/build${p}" || \ err "purge_files: cannot clean memtest86+ build${p}" @@ -169,6 +174,8 @@ purge_files() err "purge_files rm-rf2: can't purge .git files/directories" rm -Rf cbutils || err "purge_files: can't remove ${srcdir}/cbutils/" rm -Rf elf || err "purge_files: can't remove ${srcdir}/elf/" + rm -Rf util-fw/rp2040/pico-serprog/build + || err "purge_files: can't remove pico-serprog/build" ) } |