Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-09-09 18:11:23 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-09-09 18:27:41 +0300
commita21aeab3b19e50af9338e2beb4ded595d291d0f1 (patch)
tree2046f6cabc9a9b388f065fd6dbd6cf4fed03a77d
parent6f0f2ebe8e404af5b68879a7ee630cfc9d0ef484 (diff)
doc: make sure include/cm3 is pulled in properly.
Much as we had to pull in the individual target's include files manually, because they're useful without necessarily having .c files using them, the cortex core headers also need to be included. This also pulls in the doc-cm3.h file that setup nice groupings.
-rwxr-xr-xscripts/gendoxylist5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/gendoxylist b/scripts/gendoxylist
index 988891d1..6ae5804b 100755
--- a/scripts/gendoxylist
+++ b/scripts/gendoxylist
@@ -11,8 +11,9 @@ IPATH=$(echo ${DDIR} | sed -e 's#../lib/##')
PATH_DELTA=$(realpath --relative-to=${ODIR} ${DDIR})
printf "# This file is autogenerated by scripts/gendoxylist\n" > ${ODIR}/${ONAME}
-printf "# All headers for platform, not always caught by .d file tracking\n" >> ${ODIR}/${ONAME}
-for FN in $(find ../include/libopencm3/${IPATH} -name '*.h'); do
+printf "# All headers for core/platform, not always caught by .d file tracking\n" >> ${ODIR}/${ONAME}
+UNTRACKED_DIRS="../include/libopencm3/cm3 ../include/libopencm3/${IPATH}"
+for FN in $(find ${UNTRACKED_DIRS} -name '*.h'); do
printf "INPUT += ../%s\n" "$FN" >> ${ODIR}/${ONAME}
done