summaryrefslogtreecommitdiff
path: root/script/build
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 /script/build
parent5737abf0ed432bab2cfa1a4556f97ad59939e23c (diff)
make libopencm3 correctly
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/serprog/stm322
1 files changed, 2 insertions, 0 deletions
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 $@