blob: 3dc688a18fe2d264718257f3d9c988881af773f0 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001LICENSE = "GPLv2"
2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05003SRCREV = "45d0e7a09a15a21078d0ebf2db5175ed9e87014e"
Brad Bishop37a0e4d2017-12-04 01:01:44 -05004PV = "3.1"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6SRC_URI = "git://sourceware.org/git/systemtap.git \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007 file://system_map_location.patch \
8 file://configure-allow-to-disable-libvirt.patch \
9 file://x32_abi_time.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010 file://monitor-option.patch \
Brad Bishop37a0e4d2017-12-04 01:01:44 -050011 file://no-msgfmt-check.patch \
12 file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
13 file://0001-Install-python-modules-to-correct-library-dir.patch \
14 file://0001-buildrun-remove-quotes-around-I-include-line.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
16 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017
18# systemtap doesn't support mips
19COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux'
20
21S = "${WORKDIR}/git"
22
23# systemtap can't be built without optimization, if someone tries to compile an
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050024# entire image as -O0, break with fatal.
25python () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027 bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
28}