mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Steve Sakoman
parent
753ec02637
commit
104f728b65
@@ -35,6 +35,13 @@ PACKAGECONFIG[python3-probes] = "--with-python3-probes,--without-python3-probes,
|
|||||||
inherit autotools gettext pkgconfig systemd
|
inherit autotools gettext pkgconfig systemd
|
||||||
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)}
|
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)}
|
||||||
|
|
||||||
|
EXTRA_OECONF += " \
|
||||||
|
PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
|
||||||
|
PYTHON3_CONFIG=${STAGING_BINDIR_NATIVE}/python3-config \
|
||||||
|
"
|
||||||
|
|
||||||
|
CPPFLAGS:append = " -I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
|
||||||
|
|
||||||
# exporter comes with python3-probes
|
# exporter comes with python3-probes
|
||||||
PACKAGES =+ "${PN}-exporter"
|
PACKAGES =+ "${PN}-exporter"
|
||||||
FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \
|
FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \
|
||||||
|
|||||||
Reference in New Issue
Block a user