diff mbox

perf: disable documentation

Message ID 1382570881-18589-1-git-send-email-arnout@mind.be
State Accepted
Commit ba0d86215ec8f3b6dbddd751d595bf64d5bc8a11
Headers show

Commit Message

Arnout Vandecappelle Oct. 23, 2013, 11:28 p.m. UTC
perf uses asciidoc to generate documentation, but /usr/bin/asciidoc will
try to use buildroot's host-python which doesn't have the required
unicodedata. Recent kernels always try to build the man pages when
installing. To avoid that, define ASCIIDOC as an empty string so the
Makefile can't find the executable and skips the documentation
generation.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/perf/perf.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Oct. 24, 2013, 6:41 a.m. UTC | #1
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 > perf uses asciidoc to generate documentation, but /usr/bin/asciidoc will
 > try to use buildroot's host-python which doesn't have the required
 > unicodedata. Recent kernels always try to build the man pages when
 > installing. To avoid that, define ASCIIDOC as an empty string so the
 > Makefile can't find the executable and skips the documentation
 > generation.

 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Committed, thanks.
diff mbox

Patch

diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 120353f..d7898d0 100644
--- a/package/perf/perf.mk
+++ b/package/perf/perf.mk
@@ -19,7 +19,8 @@  PERF_MAKE_FLAGS = \
 	NO_LIBPYTHON=1 \
 	DESTDIR=$(TARGET_DIR) \
 	prefix=/usr \
-	WERROR=0
+	WERROR=0 \
+	ASCIIDOC=
 
 ifeq ($(BR2_PACKAGE_ELFUTILS),y)
 	PERF_DEPENDENCIES += elfutils