summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-08-26 15:30:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-08-26 15:30:28 +0200
commite440001a632bb485ed7077b8f019d8a1c2baeb5b (patch)
tree1a813ab922fdac0aef59ce023a1f06358e190309 /contrib
parentautomatically build everyrhing from SPL for given hardware (diff)
build spl doxygen if available
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/Makefile b/contrib/Makefile
index c310b48..c87b2e8 100644
--- a/contrib/Makefile
+++ b/contrib/Makefile
@@ -21,13 +21,14 @@
##
all: download-spl update-stm8flash
+doxygen := $(shell which doxygen)
download-spl: stsw-stm8069.zip
stsw-stm8069.zip:
wget "http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/firmware/stsw-stm8069.zip" -O "$@"
unzip $@
- cd STM8S_StdPeriph_Lib; patch -p1 < ../STM8_SPL_v2.2.0_SDCC.patch
+ cd STM8S_StdPeriph_Lib; patch -p1 < ../STM8_SPL_v2.2.0_SDCC.patch; $(doxygen)
.stm8flash.prepared:
git clone https://github.com/vdudouyt/stm8flash.git