summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorSoumya Sambu <soumya.sambu@windriver.com>2025-06-18 18:46:24 +0530
committerSteve Sakoman <steve@sakoman.com>2025-06-25 08:11:58 -0700
commit104f728b6504c558ffbc5fa102c1cd8862a75b46 (patch)
tree8d71ac558e2a9059d06c5cc8db4f1b6c16cd8f0a /meta/recipes-kernel
parent753ec02637b58a58425893ba2be8ccb007ef9c54 (diff)
downloadpoky-104f728b6504c558ffbc5fa102c1cd8862a75b46.tar.gz
systemtap: add sysroot Python paths to configure flags
Explicitly set Python-related flags to use sysroot-staged headers and tools. (From OE-Core rev: 85a5d7b1d2c8600f30e38e034f828e5897d9a093) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb7
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,
35inherit autotools gettext pkgconfig systemd 35inherit autotools gettext pkgconfig systemd
36inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)} 36inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)}
37 37
38EXTRA_OECONF += " \
39 PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
40 PYTHON3_CONFIG=${STAGING_BINDIR_NATIVE}/python3-config \
41"
42
43CPPFLAGS:append = " -I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
44
38# exporter comes with python3-probes 45# exporter comes with python3-probes
39PACKAGES =+ "${PN}-exporter" 46PACKAGES =+ "${PN}-exporter"
40FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \ 47FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \