diff options
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap_git.bb')
| -rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 8 |
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 | ||
| 4 | require systemtap_git.inc | 4 | require systemtap_git.inc |
| 5 | 5 | ||
| 6 | SRC_URI += "file://0001-improve-reproducibility-for-c-compiling.patch" | ||
| 7 | |||
| 6 | DEPENDS = "elfutils" | 8 | DEPENDS = "elfutils" |
| 7 | 9 | ||
| 8 | EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ | 10 | EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ |
| @@ -25,6 +27,12 @@ PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes, | |||
| 25 | 27 | ||
| 26 | inherit autotools gettext pkgconfig distutils3-base | 28 | inherit autotools gettext pkgconfig distutils3-base |
| 27 | 29 | ||
| 30 | do_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 | |||
| 28 | do_install_append () { | 36 | do_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 |
