blob: e2f5204a020223a5fe8285974766dc5dbf929eac [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001LICENSE = "GPLv2"
2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
Brad Bishop316dfdd2018-06-25 12:45:53 -04003SRCREV = "4051c70c9318c837981384cbb23f3e9eb1bd0892"
4PV = "3.2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6SRC_URI = "git://sourceware.org/git/systemtap.git \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007 file://configure-allow-to-disable-libvirt.patch \
8 file://x32_abi_time.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -06009 file://monitor-option.patch \
Brad Bishop37a0e4d2017-12-04 01:01:44 -050010 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 \
13 file://0001-buildrun-remove-quotes-around-I-include-line.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040015 file://0001-Fix-PR22551-by-updating-the-use-of-timers-for-the-4..patch \
16 file://0001-Fixes-for-gcc-8.patch \
17 file://0001-Use-sysroot-when-looking-for-the-System.map-file.patch \
18 file://0001-debuginfo-lookup-with-sysroot-case-do-not-remove-sys.patch \
19 file://0001-Make-sure-sysroot-paths-don-t-end-with-a-slash.patch \
20 file://0001-sysroot-fix-short-release-r-option-handling.patch \
21 file://0001-Delay-adding-sysroot-path-to-module-name-in-case-of-.patch \
22 file://0001-Added-a-couple-of-small-sysroot-fixes.patch \
23 file://0001-_stp_umodule_relocate-needs-target-file-path-not-hos.patch \
24 file://0001-sysroot-handle-symbolic-links-with-absolute-name-rel.patch \
25 file://0001-sysroot-fix-short-release-r-option-handling-follow-u.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027
Brad Bishop316dfdd2018-06-25 12:45:53 -040028COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
29COMPATIBLE_HOST_libc-musl = 'null'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
31S = "${WORKDIR}/git"
32
33# systemtap can't be built without optimization, if someone tries to compile an
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050034# entire image as -O0, break with fatal.
35python () {
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036 if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050037 bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
38}