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>
31 lines
1 KiB
BlitzBasic
31 lines
1 KiB
BlitzBasic
SUMMARY = "Script-directed dynamic tracing and performance analysis tool for Linux"
|
|
|
|
require systemtap_git.inc
|
|
|
|
DEPENDS = "elfutils sqlite3 systemtap-native"
|
|
DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native"
|
|
DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
|
|
|
|
RDEPENDS_${PN} += "python bash"
|
|
RDEPENDS_${PN}_class-native += "python-native"
|
|
RDEPENDS_${PN}_class-nativesdk += "python-native"
|
|
|
|
EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
|
|
--without-nss --without-avahi --without-dyninst \
|
|
--disable-server --disable-grapher --enable-prologues \
|
|
ac_cv_prog_have_javac=no \
|
|
ac_cv_prog_have_jar=no "
|
|
|
|
STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
|
|
|
|
EXTRA_OECONF += "${STAP_DOCS} "
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt"
|
|
|
|
inherit autotools gettext pkgconfig
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
FILES_${PN}-dbg += "${libexecdir}/systemtap/.debug"
|