]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
as-needed.inc: add babeltrace exception joshuagl/fido-next
authorNathan Lynch <nathan_lynch@mentor.com>
Sat, 12 Sep 2015 00:02:50 +0000 (19:02 -0500)
committerJoshua Lock <joshua.g.lock@intel.com>
Wed, 11 Jan 2017 16:17:15 +0000 (16:17 +0000)
The babeltrace command has plugins which it specifies in its link step
but on which (in the linker's view) it does not depend, so --as-needed
causes some of them to be omitted from the executable's dependencies.
This prevents babeltrace on OE-built systems from handling
streaming/live tracing sessions.

Babeltrace's makefiles already try to prevent this by using
--no-as-needed, but --as-needed gets placed afterward in the command
line, so it wins.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core master rev: d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
meta/conf/distro/include/as-needed.inc

index 9d2056e17a968f19a70672ead32993fd456726b4..4f249fd3e65c8309e41b4891649cd4ec6eb295ec 100644 (file)
@@ -1,6 +1,7 @@
 
 ASNEEDED = "-Wl,--as-needed"
 
+ASNEEDED_pn-babeltrace = ""
 ASNEEDED_pn-console-tools = ""
 ASNEEDED_pn-distcc = ""
 ASNEEDED_pn-openobex = ""