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 | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame^] | 3 | SRCREV = "b8ea350dc13adb6190d9044a5b80110a4c441270" |
| 4 | PV = "3.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://system_map_location.patch \ |
| 8 | file://configure-allow-to-disable-libvirt.patch \ |
| 9 | file://x32_abi_time.patch \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 10 | file://monitor-option.patch \ |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame^] | 11 | 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 \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | " |
| 16 | |
| 17 | # systemtap doesn't support mips |
| 18 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux' |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
| 22 | # 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] | 23 | # entire image as -O0, break with fatal. |
| 24 | python () { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x": |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 26 | bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.") |
| 27 | } |