mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
There are a number of scripts in the systemtap installation that use python and bash, so we need to add run-time dependencies for them. If not, we can generate build errors like "no package provides /usr/bin/python". Fixes [YOCTO #3951]. (From OE-Core rev: c16882f69aa7ec2e74ba411925a184e5a6105b1d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
984 B
BlitzBasic
32 lines
984 B
BlitzBasic
DESCRIPTION = "SystemTap - script-directed dynamic tracing and performance analysis tool for Linux"
|
|
|
|
require systemtap_git.inc
|
|
|
|
DEPENDS = "elfutils sqlite3 systemtap-native"
|
|
DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
|
|
DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
|
|
|
|
PR = "r1"
|
|
|
|
export CC_FOR_BUILD = "${BUILD_CC}"
|
|
export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
|
|
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
|
|
|
|
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 \
|
|
--disable-server --disable-grapher "
|
|
|
|
STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
|
|
|
|
EXTRA_OECONF += "${STAP_DOCS} "
|
|
|
|
inherit autotools gettext
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
FILES_${PN}-dbg += "${libexecdir}/systemtap/.debug"
|