diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2014-09-23 06:29:00 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-23 21:38:33 +0100 |
commit | c9dbd2680b7db23b496671eee67a5bd8d379264c (patch) | |
tree | f0f6fd5d7f4684ad1ea2aa6a9dc976f2888a6963 /meta/recipes-kernel/systemtap/systemtap_git.bb | |
parent | 8207c9034ea09fdf27b07ccbf1e1bbb6fefd4156 (diff) | |
download | poky-c9dbd2680b7db23b496671eee67a5bd8d379264c.tar.gz |
systemtap: disable libvirt
libvirt is automatically linked to if present, this undetermined
dependency may cause build errors like:
../lib/libvirt.so: undefined reference to `libssh2_channel_open_ex'
../lib/libvirt.so: undefined reference to `libssh2_session_hostkey'
...
Both libvirt and libssh2 are not oe-core recipes for now, just disable
libvirt to fix this issue.
(From OE-Core rev: 815b44914eb30b86dfce0e81ffda7884e0efcc34)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap_git.bb')
-rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 488d417150..d0dd42a643 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb | |||
@@ -20,6 +20,9 @@ STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs" | |||
20 | 20 | ||
21 | EXTRA_OECONF += "${STAP_DOCS} " | 21 | EXTRA_OECONF += "${STAP_DOCS} " |
22 | 22 | ||
23 | PACKAGECONFIG ??= "" | ||
24 | PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt" | ||
25 | |||
23 | inherit autotools gettext pkgconfig | 26 | inherit autotools gettext pkgconfig |
24 | 27 | ||
25 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |