Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | LICENSE = "GPLv2" |
| 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 3 | SRCREV = "984d6d1696ed06626b07cb65ab55d6ae0ece1131" |
| 4 | PV = "4.1" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | |
| 6 | SRC_URI = "git://sourceware.org/git/systemtap.git \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | file://configure-allow-to-disable-libvirt.patch \ |
| 8 | file://x32_abi_time.patch \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 9 | file://monitor-option.patch \ |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame] | 10 | 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 Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ |
| 14 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 16 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux' |
| 17 | COMPATIBLE_HOST_libc-musl = 'null' |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | # 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] | 22 | # entire image as -O0, break with fatal. |
| 23 | python () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x": |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.") |
| 26 | } |