summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-08-26 13:30:28 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2017-08-26 13:30:28 (GMT)
commite440001a632bb485ed7077b8f019d8a1c2baeb5b (patch)
tree1a813ab922fdac0aef59ce023a1f06358e190309
parentbbf6dff6846ea6a7e5bbd25fd57b85b7d6d59372 (diff)
build spl doxygen if available
-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