blob: c5348b3204b2e5ad8661b594e5b53fa6487196d8 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001LICENSE = "GPLv2"
2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Brad Bishop15ae2502019-06-18 21:44:24 -04003SRCREV = "984d6d1696ed06626b07cb65ab55d6ae0ece1131"
4PV = "4.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://configure-allow-to-disable-libvirt.patch \
8 file://x32_abi_time.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -06009 file://monitor-option.patch \
Brad Bishop37a0e4d2017-12-04 01:01:44 -050010 file://no-msgfmt-check.patch \
11 file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
12 file://0001-Install-python-modules-to-correct-library-dir.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
14 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
Brad Bishop316dfdd2018-06-25 12:45:53 -040016COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
17COMPATIBLE_HOST_libc-musl = 'null'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
19S = "${WORKDIR}/git"
20
21# systemtap can't be built without optimization, if someone tries to compile an
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022# entire image as -O0, break with fatal.
23python () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024 if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025 bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
26}