[oe-commits] Tom Zanussi : lttng-ust: Disable doc/examples in the build

git at git.openembedded.org git at git.openembedded.org
Thu Mar 6 22:32:04 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 5ee0b0825fa22d22f601496cfb3ac6e4668ef1d2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5ee0b0825fa22d22f601496cfb3ac6e4668ef1d2

Author: Tom Zanussi <tom.zanussi at linux.intel.com>
Date:   Thu Mar  6 11:09:31 2014 -0600

lttng-ust: Disable doc/examples in the build

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../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(+)

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 at 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"



More information about the Openembedded-commits mailing list