Build script
This commit is contained in:
parent
573bd96976
commit
570683e23b
1 changed files with 24 additions and 0 deletions
24
build
Executable file
24
build
Executable file
|
@ -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
|
||||||
|
)
|
Loading…
Reference in a new issue