mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
systemtap: rationalise dependencies
Boost is an optional dependency but avoid build non-determinism by adding it as DEPENDS. It is only for the shared pointer types so can be disabled explicitly if required. Turn sqlite into a PACKAGECONFIG. Add a patch for the "monitor" feature to control the optional dependencies on ncurses and json-c. Previously this was enabled for target only but enable it everwhere now that json-c is available for native/nativesdk. Of course all of this was predicated about systemtap needing systemtap-native to be built, but it turns out that this dependency is due to oe-core 507bd2 which adds systemtap-native as DEPENDS for convenience. Remove this dependency, if the user wants systemtap-native then they can build it explicitly. (From OE-Core rev: fb9dc1cf7a2d6d5e22beb68f17b4c9c8d1136e37) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
25f3a3d980
commit
16882885f6
@@ -2,9 +2,7 @@ SUMMARY = "Script-directed dynamic tracing and performance analysis tool for Lin
|
||||
|
||||
require systemtap_git.inc
|
||||
|
||||
DEPENDS = "elfutils sqlite3 systemtap-native ncurses json-c"
|
||||
DEPENDS_class-native = "elfutils-native sqlite3-native gettext-native"
|
||||
DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
|
||||
DEPENDS = "boost elfutils"
|
||||
|
||||
RDEPENDS_${PN} += "python3-core bash"
|
||||
|
||||
@@ -19,8 +17,10 @@ STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
|
||||
|
||||
EXTRA_OECONF += "${STAP_DOCS} "
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG ??= "sqlite monitor"
|
||||
PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt"
|
||||
PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3"
|
||||
PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor,ncurses json-c"
|
||||
|
||||
inherit autotools gettext pkgconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user