Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | LICENSE = "GPLv2" |
| 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 3 | SRCREV = "7009f2f782e52d6105fe68d6ea2a9820a1099c06" |
| 4 | PV = "2.9" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | |
| 6 | SRC_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 |
| 15 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux' |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | # systemtap can't be built without optimization, if someone tries to compile an |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 20 | # entire image as -O0, break with fatal. |
| 21 | python () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x": |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.") |
| 24 | } |