blob: 656f15f80806129ee277a467a23fc3a96046239d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001LICENSE = "GPLv2"
2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05003SRCREV = "7009f2f782e52d6105fe68d6ea2a9820a1099c06"
4PV = "2.9"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6SRC_URI = "git://sourceware.org/git/systemtap.git \
7 file://docproc-build-fix.patch \
8 file://obsolete_automake_macros.patch \
9 file://system_map_location.patch \
10 file://configure-allow-to-disable-libvirt.patch \
11 file://x32_abi_time.patch \
12 "
13
14# systemtap doesn't support mips
15COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux'
16
17S = "${WORKDIR}/git"
18
19# systemtap can't be built without optimization, if someone tries to compile an
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020# entire image as -O0, break with fatal.
21python () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
24}