summaryrefslogtreecommitdiff
path: root/script/build/rpi-pico/serprog
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-03 17:36:42 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-03 17:36:42 +0100
commit1dc54608a125a66af2900ed5f1497d7b1e168b03 (patch)
tree5a8d900a294ce24518c1816b8d2dee9140057adb /script/build/rpi-pico/serprog
parentc63052cf19c4cb04b878a9fb5806ecea7e73273c (diff)
fix rpi-pico builds when running it twice
it needed to be make-cleaned Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/rpi-pico/serprog')
-rwxr-xr-xscript/build/rpi-pico/serprog1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/build/rpi-pico/serprog b/script/build/rpi-pico/serprog
index 15a20a22..dde5070e 100755
--- a/script/build/rpi-pico/serprog
+++ b/script/build/rpi-pico/serprog
@@ -36,6 +36,7 @@ main()
cd ${src_dir}
cmake -DPICO_SDK_PATH=${sdk_dir} .
+ make clean
make
mkdir -p ${serprog_release_dir}