diff options
| -rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index c84fc27001..40ccf1d523 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb | |||
| @@ -35,6 +35,13 @@ PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes, | |||
| 35 | inherit autotools gettext pkgconfig systemd | 35 | inherit autotools gettext pkgconfig systemd |
| 36 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)} | 36 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)} |
| 37 | 37 | ||
| 38 | EXTRA_OECONF += " \ | ||
| 39 | PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ | ||
| 40 | PYTHON3_CONFIG=${STAGING_BINDIR_NATIVE}/python3-config \ | ||
| 41 | " | ||
| 42 | |||
| 43 | CPPFLAGS:append = " -I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}" | ||
| 44 | |||
| 38 | # exporter comes with python3-probes | 45 | # exporter comes with python3-probes |
| 39 | PACKAGES =+ "${PN}-exporter" | 46 | PACKAGES =+ "${PN}-exporter" |
| 40 | FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \ | 47 | FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \ |
