Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | LICENSE = "GPL-2.0-only" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 3 | SRCREV = "e72dc118e563c645d93a1a2d771e8d90e8fec1ae" |
| 4 | PV = "5.0" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | |
Andrew Geissler | 028142b | 2023-05-05 11:29:21 -0500 | [diff] [blame] | 6 | SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \ |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame] | 7 | file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \ |
| 8 | file://0001-Install-python-modules-to-correct-library-dir.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 10 | file://0001-Makefile.am-remove-runtime-linux-uprobes-and-runtime.patch \ |
| 11 | file://0001-prerelease-datestamp-fixes.patch \ |
| 12 | file://0001-configure.ac-fix-broken-libdebuginfod-library-auto-d.patch \ |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 13 | file://0001-bpf-translate.cxx-fix-build-against-upcoming-gcc-14-.patch \ |
| 14 | file://0001-staprun-fix-build-against-upcoming-gcc-14-Werror-cal.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 17 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux' |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 18 | COMPATIBLE_HOST:libc-musl = 'null' |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | } |