From 34d3629ebf68595710015b52fbcd16a66b91df8c Mon Sep 17 00:00:00 2001 From: Riku Viitanen Date: Sun, 10 Sep 2023 22:52:26 +0300 Subject: make clean stm32-vserprog for release Signed-off-by: Riku Viitanen --- script/build/release/src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/build/release') diff --git a/script/build/release/src b/script/build/release/src index 86c435b2..8d36e5fb 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -148,7 +148,7 @@ purge_files() err "purge_files: ${p}: cannot clean the source trees" done - for p in bios_extract flashrom grub uefitool; do + for p in bios_extract flashrom grub uefitool util-fw/stm32-vserprog; do ./handle make file -c "${p}" || \ err "purge_files: !./handle make file -c ${p}" done -- cgit v1.2.1 From 7dc8632514aa13ba0c704dbe6cf7aeb38071d808 Mon Sep 17 00:00:00 2001 From: Riku Viitanen Date: Mon, 11 Sep 2023 01:01:27 +0300 Subject: clean up pico-serprog for release moved cmake files into a separate build directory. this can just be deleted for the source release. might as well use cmake for the actual build too. that makes repeated builds faster for some reason. Signed-off-by: Riku Viitanen --- script/build/release/src | 2 ++ 1 file changed, 2 insertions(+) (limited to 'script/build/release') diff --git a/script/build/release/src b/script/build/release/src index 8d36e5fb..27a93729 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -169,6 +169,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" ) } -- cgit v1.2.1 From 3d77b8a0b97150be1255c3a16dc6317f04ca85d7 Mon Sep 17 00:00:00 2001 From: Riku Viitanen Date: Mon, 11 Sep 2023 01:08:34 +0300 Subject: download and copy serprog related src Signed-off-by: Riku Viitanen --- script/build/release/src | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'script/build/release') diff --git a/script/build/release/src b/script/build/release/src index 27a93729..402775ab 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 -- cgit v1.2.1 From 5737abf0ed432bab2cfa1a4556f97ad59939e23c Mon Sep 17 00:00:00 2001 From: Riku Viitanen Date: Mon, 11 Sep 2023 11:58:16 +0300 Subject: make clean libopencm3 Signed-off-by: Riku Viitanen --- script/build/release/src | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'script/build/release') diff --git a/script/build/release/src b/script/build/release/src index 402775ab..b6f7cf3a 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -149,10 +149,14 @@ purge_files() err "purge_files: ${p}: cannot clean the source trees" done - for p in bios_extract flashrom grub uefitool util-fw/stm32-vserprog; do + for p in bios_extract flashrom grub uefitool; do ./handle make file -c "${p}" || \ err "purge_files: !./handle make file -c ${p}" done + for p in "stm32-serprog" "stm32-serprog/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}" -- cgit v1.2.1 From 24185bca429bf4334bdc99bd9054bf864044ccab Mon Sep 17 00:00:00 2001 From: Riku Viitanen Date: Mon, 11 Sep 2023 14:42:43 +0300 Subject: fix typo serprog -> vserprog Signed-off-by: Riku Viitanen --- script/build/release/src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/build/release') diff --git a/script/build/release/src b/script/build/release/src index b6f7cf3a..d425638c 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -153,7 +153,7 @@ purge_files() ./handle make file -c "${p}" || \ err "purge_files: !./handle make file -c ${p}" done - for p in "stm32-serprog" "stm32-serprog/libopencm3"; do + 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 -- cgit v1.2.1