sksp2024-mcu/build
2024-09-14 21:50:56 +02:00

24 lines
363 B
Bash
Executable file

#!/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
)