]> code.ossystems Code Review - openembedded-core.git/commitdiff
babeltrace: move ASNEEDED over-ride into the babeltrace recipe
authorAndre McCurdy <armccurdy@gmail.com>
Wed, 9 May 2018 21:46:42 +0000 (14:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 09:00:30 +0000 (10:00 +0100)
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/as-needed.inc
meta/recipes-kernel/lttng/babeltrace_1.5.5.bb

index 6a8ad9d62497fed08fb1efa37dd6ef9af11b6b48..38de3a10f2b6b946bd59ea3f996f015a107dc45f 100644 (file)
@@ -1,7 +1,6 @@
 
 ASNEEDED = "-Wl,--as-needed"
 
-ASNEEDED_pn-babeltrace = ""
 ASNEEDED_pn-console-tools = ""
 ASNEEDED_pn-distcc = ""
 ASNEEDED_pn-openobex = ""
index 5d7a7efd2f5383077ded419ed99bc51587d20de9..2a2fa1e5b1db9991d1f6e7a03659d5b46e6e4f19 100644 (file)
@@ -2,18 +2,18 @@ SUMMARY = "Babeltrace - Trace Format Babel Tower"
 DESCRIPTION = "Babeltrace provides trace read and write libraries in host side, as well as a trace converter, which used to convert LTTng 2.0 traces into human-readable log."
 HOMEPAGE = "http://www.efficios.com/babeltrace/"
 BUGTRACKER = "https://bugs.lttng.org/projects/babeltrace"
-
 LICENSE = "MIT & GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=76ba15dd76a248e1dd526bca0e2125fa"
 
 DEPENDS = "glib-2.0 util-linux popt bison-native flex-native"
 
-inherit autotools pkgconfig
+SRC_URI = "git://git.linuxfoundation.org/diamon/babeltrace.git;branch=stable-1.5"
+SRCREV = "d68a4daf85c73ab7d7070de0c98d0c170af4758e"
+
+S = "${WORKDIR}/git"
 
-SRC_URI = "git://git.linuxfoundation.org/diamon/babeltrace.git;branch=stable-1.5 \
-"
+inherit autotools pkgconfig
 
 EXTRA_OECONF = "--disable-debug-info"
 
-S = "${WORKDIR}/git"
-SRCREV = "d68a4daf85c73ab7d7070de0c98d0c170af4758e"
+ASNEEDED = ""