summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Viitanen <riku.viitanen@protonmail.com>2023-09-11 14:34:20 +0300
committerRiku Viitanen <riku.viitanen@protonmail.com>2023-09-11 14:35:00 +0300
commitccb36aa652f118ae88a150c67380b81cbc21dd64 (patch)
treea06fcc27edf4189b8bdcc16395bb4d1283e758d4
parent5737abf0ed432bab2cfa1a4556f97ad59939e23c (diff)
make libopencm3 correctly
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
-rw-r--r--config/git/revisions2
-rwxr-xr-xscript/build/serprog/stm322
2 files changed, 3 insertions, 1 deletions
diff --git a/config/git/revisions b/config/git/revisions
index 37a9622b..60f2588b 100644
--- a/config/git/revisions
+++ b/config/git/revisions
@@ -99,7 +99,7 @@
}
{stm32-vserprog}{
- rev: 60c6274f7f5d45d01c64b7acdc5b0e4ed71caa96
+ rev: 8fcf0a4d41800631b571fa7bbd1d8b251f0a2111
loc: util-fw/stm32-vserprog
url: https://codeberg.org/libreboot/stm32-vserprog
bkup_url: https://notabug.org/libreboot/stm32-vserprog
diff --git a/script/build/serprog/stm32 b/script/build/serprog/stm32
index 8637e292..41412957 100755
--- a/script/build/serprog/stm32
+++ b/script/build/serprog/stm32
@@ -50,10 +50,12 @@ main()
buildrom()
{
board=${1}
+ make -C ${src_dir} libopencm3-just-make BOARD=${board}
make -C ${src_dir} BOARD=${board}
mv ${src_dir}/stm32-vserprog.hex \
${serprog_release_dir}/serprog_${board}.hex \
|| err "${board} serprog build failed!"
+ printf "output to ${serprog_release_dir}/serprog_${board}.hex\n"
}
main $@