summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ninja
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2021-05-04 13:39:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-06 08:41:21 +0100
commitb0aedd74f13b174861ff742eb503d8d343f9e714 (patch)
tree936522b48b64ca0f49d084a324cce80e01194454 /meta/recipes-devtools/ninja
parent231c99728da9d81c9430a2aa62239ce28734ef4a (diff)
downloadopenembedded-core-b0aedd74f13b174861ff742eb503d8d343f9e714.tar.gz
ccache: add packageconfig docs option
Before, ccache's configure stage built HTML documentation and man pages depending on if asciidoc is installed. This patch makes it configurable. Pass the new cmake option BUILD_DOCS along and add the asciidoc dependency if necessary. This fixes an issue when ccache's configure stage found asciidoc/a2x on the system outside of the sysroot (e.g. installed via 'apt install asciidoc'). ccache would then decide to build docs and manual pages, but would fail during compilation: the system's a2x could not find the system's asciidoc because it did not reside in the set PATH. By enabling/disabling docs/man page generation explicitly and adding asciidoc to DEPENDS as necessary, this is no longer an issue. Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ninja')
0 files changed, 0 insertions, 0 deletions