Skip to contentSkip to conversation

perf: disable documentation

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 2 messages Oct 23, 2013 – Oct 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: disable documentation

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.

---
 package/perf/perf.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/perf/perf.mk +2 -1
index 120353f..d7898d0 100644
@@ -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
Signature · 1 line
1.8.4.rc3
#1 lore raw

PATCH 1/1 perf: disable documentation

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> 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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard