summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
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:26 +0100
commitce39d05d511c62eb439d9385d107a4058a8d1f60 (patch)
tree1a235d4a47316dce4b009d5125cbc93f084590f3 /scripts/oe-buildenv-internal
parent9f951a2d4985d2d05ceb135e0786e1e1ecd73fc0 (diff)
downloadpoky-ce39d05d511c62eb439d9385d107a4058a8d1f60.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. (From OE-Core rev: b0aedd74f13b174861ff742eb503d8d343f9e714) Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-buildenv-internal')
0 files changed, 0 insertions, 0 deletions