diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2020-01-31 07:35:30 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-01-31 07:35:30 +0000 |
commit | 989429e8726e55bac78292ead4400649350c4565 (patch) | |
tree | 3ce4181dbb0289ee85ed810a6b4ee58ce6cffb50 /Makefile | |
parent | f69a5828b74ca27bd3872de9c8c6c5a107915c49 (diff) | |
parent | 6de32378f67f9a1368000a94defa8956c3c7319d (diff) | |
download | trusted-firmware-a-989429e8726e55bac78292ead4400649350c4565.tar.gz |
Merge "Add support for documentation build as a target in Makefile" into integration
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -702,6 +702,9 @@ PYTHON ?= python3 PRINT_MEMORY_MAP_PATH ?= tools/memory PRINT_MEMORY_MAP ?= ${PRINT_MEMORY_MAP_PATH}/print_memory_map.py +# Variables for use with documentation build using Sphinx tool +DOCS_PATH ?= docs + ################################################################################ # Include BL specific makefiles ################################################################################ @@ -878,7 +881,7 @@ endif # Build targets ################################################################################ -.PHONY: all msg_start clean realclean distclean cscope locate-checkpatch checkcodebase checkpatch fiptool sptool fip fwu_fip certtool dtbs memmap +.PHONY: all msg_start clean realclean distclean cscope locate-checkpatch checkcodebase checkpatch fiptool sptool fip fwu_fip certtool dtbs memmap doc .SUFFIXES: all: msg_start @@ -1076,6 +1079,10 @@ romlib.bin: libraries memmap: all ${Q}${PYTHON} $(PRINT_MEMORY_MAP) $(BUILD_PLAT) +doc: + @echo " BUILD DOCUMENTATION" + ${Q}${MAKE} --no-print-directory -C ${DOCS_PATH} html + cscope: @echo " CSCOPE" ${Q}find ${CURDIR} -name "*.[chsS]" > cscope.files @@ -1116,6 +1123,7 @@ help: @echo " sptool Build the Secure Partition Package creation tool" @echo " dtbs Build the Device Tree Blobs (if required for the platform)" @echo " memmap Print the memory map of the built binaries" + @echo " doc Build html based documentation using Sphinx tool" @echo "" @echo "Note: most build targets require PLAT to be set to a specific platform." @echo "" |