Patchwork [2/2] systemtap: disable document generation by default

login
register
mail settings
Submitter Tom Zanussi
Date April 13, 2012, 7:56 p.m.
Message ID <7b42c79c8ffbb283bfe036b5028c003db2a38edd.1334346682.git.tom.zanussi@intel.com>
Download mbox | patch
Permalink /patch/25771/
State Accepted
Commit e37391a949fb0a6edf87eb910e93a17caf309119
Headers show

Comments

Tom Zanussi - April 13, 2012, 7:56 p.m.
From: Tom Zanussi <tom.zanussi@intel.com>

Building the systemtap documentation adds significantly to the build
time, so disable it by default.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 meta/recipes-kernel/systemtap/systemtap_git.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 1d2c9f3..91bccd1 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -20,6 +20,10 @@  EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
 	     ac_cv_file__usr_include_avahi_client=no \
 	     ac_cv_file__usr_include_avahi_common=no "
 
+STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
+
+EXTRA_OECONF += "${STAP_DOCS} "
+
 inherit autotools gettext
 
 BBCLASSEXTEND = "native nativesdk"