blob: 97d4435f82c2486c392555cbe9895a013a34f11e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001LICENSE = "GPLv2"
2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
William A. Kennington IIIac69b482021-06-02 12:28:27 -07003SRCREV = "0eba8a46bc99c66e5dd274a9a4d661fe08ac4b8a"
4PV = "4.5"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6SRC_URI = "git://sourceware.org/git/systemtap.git \
Brad Bishop37a0e4d2017-12-04 01:01:44 -05007 file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
8 file://0001-Install-python-modules-to-correct-library-dir.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
Patrick Williams213cb262021-08-07 19:21:33 -050010 file://ef5a8b9eda402e4e96c4e3ce01e7ff95d3e10470.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012
Brad Bishop316dfdd2018-06-25 12:45:53 -040013COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
Patrick Williams213cb262021-08-07 19:21:33 -050014COMPATIBLE_HOST:libc-musl = 'null'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
16S = "${WORKDIR}/git"
17
18# systemtap can't be built without optimization, if someone tries to compile an
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019# entire image as -O0, break with fatal.
20python () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021 if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022 bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
23}