evtest: disable documentation
PATCH v2 1/1 evtest: disable documentation
evtest uses asciidoc to generate documentation, but /usr/bin/asciidoc will try to use buildroot's host-python which doesn't have the required unicodedata. To avoid that, define ASCIIDOC as an empty string so the Makefile can't find the executable and skips the documentation generation. This is the same solution used in the evemu package. Otherwise it will fail with this message:
make[1]: Entering directory `/br/output/build/evtest-1.32' /usr/bin/make all-am
make[2]: Entering directory `/br/output/build/evtest-1.32'
File "/usr/bin/asciidoc", line 95
except KeyError, k: return None
---
Changes v1 -> v2: amend commit message
package/evtest/evtest.mk | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
package/evtest/evtest.mk +5 -0
@@ -13,4 +13,9 @@ EVTEST_DEPENDENCIES = host-pkgconf # needed because source package contains no generated files EVTEST_AUTORECONF = YES +# asciidoc used to generate manpages, which we don't need, and if it's +# present on the build host, it ends getting called with our host-python +# which doesn't have all the needed modules enabled, breaking the build +EVTEST_CONF_ENV = ac_cv_path_ASCIIDOC="" + $(eval $(autotools-package))
Signature · 1 line
1.7.1
Thomas Petazzoni
AppliedPATCH v2 1/1 evtest: disable documentation
Dear Vicente Olivert Riera,
Quoted 7 lines · Vicente Olivert Riera
evtest uses asciidoc to generate documentation, but
/usr/bin/asciidocwill try to use buildroot's host-python which doesn't have the required unicodedata. To avoid that, define ASCIIDOC as an empty string so theMakefilecan't find the executable and skips the documentation generation. This is the same solution used in the evemu package. Otherwise it will fail with this message:
Quoted 7 lines
make[1]: Entering directory `/br/output/build/evtest-1.32'
/usr/bin/makeall-am
make[2]: Entering directory `/br/output/build/evtest-1.32'
File "/usr/bin/asciidoc", line 95
except KeyError, k: return NoneSigned-off-by Vicente Olivert Riera <[email protected]>
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com