From 570683e23b67b990ef62f89aa73edf0bf5f75e59 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 14 Sep 2024 21:50:56 +0200 Subject: [PATCH] Build script --- build | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 build diff --git a/build b/build new file mode 100755 index 0000000..4e04fce --- /dev/null +++ b/build @@ -0,0 +1,24 @@ +#!/bin/bash +set -e + +echo +echo "### BUILDING LIBUCW ###" +echo +( cd libucw && make distclean && ./configure ksp.cfg -CONFIG_DOC CONFIG_LOCAL && make -j8 ) + +echo +echo "### BUILDING FIRMWARE TOOLS ###" +echo +( + export PKG_CONFIG_PATH=$(pwd)/libucw/run/lib/pkgconfig + cd ucw-stm32lib/tools + make +) + +echo +echo "### BUILDING LIBOPENCM3 ###" +echo +( + cd libopencm3 + make +)