summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap_git.bb')
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index b280f583e2..0b7833e901 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -3,6 +3,8 @@ HOMEPAGE = "https://sourceware.org/systemtap/"
3 3
4require systemtap_git.inc 4require systemtap_git.inc
5 5
6SRC_URI += "file://0001-improve-reproducibility-for-c-compiling.patch"
7
6DEPENDS = "elfutils" 8DEPENDS = "elfutils"
7 9
8EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ 10EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
@@ -25,6 +27,12 @@ PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,
25 27
26inherit autotools gettext pkgconfig distutils3-base 28inherit autotools gettext pkgconfig distutils3-base
27 29
30do_configure_prepend () {
31 # Improve reproducibility for c++ object files
32 reltivepath="${@os.path.relpath(d.getVar('STAGING_INCDIR'), d.getVar('S'))}"
33 sed -i "s:@RELATIVE_STAGING_INCDIR@:$reltivepath:g" ${S}/stringtable.h
34}
35
28do_install_append () { 36do_install_append () {
29 if [ ! -f ${D}${bindir}/stap ]; then 37 if [ ! -f ${D}${bindir}/stap ]; then
30 # translator disabled case, need to leave only minimal runtime 38 # translator disabled case, need to leave only minimal runtime