Patchwork [6/6] lttng-ust: Disable doc/examples in the build

login
register
mail settings
Submitter tom.zanussi@linux.intel.com
Date March 6, 2014, 5:09 p.m.
Message ID <08cd04eeca83045bd48e5212a82fd9818b889574.1394124934.git.tom.zanussi@linux.intel.com>
Download mbox | patch
Permalink /patch/68157/
State Accepted
Commit 755aaad12d2b117aa1ed137e03bb1a8386d919bb
Headers show

Comments

tom.zanussi@linux.intel.com - March 6, 2014, 5:09 p.m.
Don't build the doc examples - we don't need them and in fact they
never successfully built in previous iterations of the lttng-ust
recipe anyway.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 .../lttng-ust/lttng-ust-doc-examples-disable.patch     | 18 ++++++++++++++++++
 meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb           |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 meta/recipes-kernel/lttng/lttng-ust/lttng-ust-doc-examples-disable.patch

Patch

diff --git a/meta/recipes-kernel/lttng/lttng-ust/lttng-ust-doc-examples-disable.patch b/meta/recipes-kernel/lttng/lttng-ust/lttng-ust-doc-examples-disable.patch
new file mode 100644
index 0000000..b68a989
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-ust/lttng-ust-doc-examples-disable.patch
@@ -0,0 +1,18 @@ 
+Upstream-Status: Inappropriate [embedded specific]
+
+Don't build the doc examples - we don't need them and in fact they
+never successfully built in previous iterations of the lttng-ust
+recipe anyway.
+
+Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
+
+Index: doc/Makefile.am
+===================================================================
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = . examples
++SUBDIRS = .
+ 
+ dist_man_MANS = man/lttng-gen-tp.1 \
+ 	man/lttng-ust.3 \
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb
index 9f806c1..1629554 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.4.0.bb
@@ -22,6 +22,7 @@  PV = "2.4.0"
 PE = "2"
 
 SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.4 \
+           file://lttng-ust-doc-examples-disable.patch \
 	   "
 
 S = "${WORKDIR}/git"