mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -5,13 +5,13 @@ require systemtap_git.inc
|
||||
DEPENDS = "systemtap virtual/kernel"
|
||||
|
||||
# On systems without CONFIG_UTRACE, this package is empty.
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
inherit module-base gettext
|
||||
|
||||
FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemtap:"
|
||||
|
||||
FILES_${PN} += "${datadir}/systemtap/runtime/uprobes"
|
||||
FILES:${PN} += "${datadir}/systemtap/runtime/uprobes"
|
||||
|
||||
# Compile and install the uprobes kernel module on machines with utrace
|
||||
# support. Note that staprun expects it in the systemtap/runtime directory,
|
||||
|
||||
@@ -33,46 +33,46 @@ inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'distutils3-base
|
||||
|
||||
# exporter comes with python3-probes
|
||||
PACKAGES =+ "${PN}-exporter"
|
||||
FILES_${PN}-exporter = "${sysconfdir}/stap-exporter/* \
|
||||
FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \
|
||||
${sysconfdir}/sysconfig/stap-exporter \
|
||||
${systemd_unitdir}/system/stap-exporter.service \
|
||||
${sbindir}/stap-exporter"
|
||||
RDEPENDS_${PN}-exporter = "${PN} python3-core python3-netclient"
|
||||
SYSTEMD_SERVICE_${PN}-exporter = "stap-exporter.service"
|
||||
RDEPENDS:${PN}-exporter = "${PN} python3-core python3-netclient"
|
||||
SYSTEMD_SERVICE:${PN}-exporter = "stap-exporter.service"
|
||||
|
||||
PACKAGES =+ "${PN}-runtime"
|
||||
FILES_${PN}-runtime = "\
|
||||
FILES:${PN}-runtime = "\
|
||||
${bindir}/staprun \
|
||||
${bindir}/stap-merge \
|
||||
${bindir}/stapsh \
|
||||
${libexecdir}/${BPN}/stapio \
|
||||
"
|
||||
RDEPENDS_${PN}_class-target += "${PN}-runtime"
|
||||
RDEPENDS:${PN}:class-target += "${PN}-runtime"
|
||||
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES_${PN}-examples = "${datadir}/${BPN}/examples/"
|
||||
RDEPENDS_${PN}-examples += "${PN}"
|
||||
FILES:${PN}-examples = "${datadir}/${BPN}/examples/"
|
||||
RDEPENDS:${PN}-examples += "${PN}"
|
||||
|
||||
# don't complain that some examples involve bash, perl, php...
|
||||
INSANE_SKIP_${PN}-examples += "file-rdeps"
|
||||
INSANE_SKIP:${PN}-examples += "file-rdeps"
|
||||
|
||||
PACKAGES =+ "${PN}-python"
|
||||
FILES_${PN}-python += "\
|
||||
FILES:${PN}-python += "\
|
||||
${bindir}/dtrace \
|
||||
${libdir}/python*/ \
|
||||
${libexecdir}/${BPN}/python/ \
|
||||
"
|
||||
# python material requires sdt headers
|
||||
RDEPENDS_${PN}-python += "${PN}-dev python3-core"
|
||||
INSANE_SKIP_${PN}-python += "dev-deps"
|
||||
RDEPENDS:${PN}-python += "${PN}-dev python3-core"
|
||||
INSANE_SKIP:${PN}-python += "dev-deps"
|
||||
|
||||
do_configure_prepend () {
|
||||
do_configure:prepend () {
|
||||
# Improve reproducibility for c++ object files
|
||||
reltivepath="${@os.path.relpath(d.getVar('STAGING_INCDIR'), d.getVar('S'))}"
|
||||
sed -i "s:@RELATIVE_STAGING_INCDIR@:$reltivepath:g" ${S}/stringtable.h
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
do_install:append () {
|
||||
if [ ! -f ${D}${bindir}/stap ]; then
|
||||
# translator disabled case, need to leave only minimal runtime
|
||||
rm -rf ${D}${datadir}/${PN}
|
||||
|
||||
@@ -11,7 +11,7 @@ SRC_URI = "git://sourceware.org/git/systemtap.git \
|
||||
"
|
||||
|
||||
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
|
||||
COMPATIBLE_HOST_libc-musl = 'null'
|
||||
COMPATIBLE_HOST:libc-musl = 'null'
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user