2012-02-06 14:49:14 +00:00
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
2017-02-24 16:02:03 +00:00
|
|
|
SRCREV = "b8ea350dc13adb6190d9044a5b80110a4c441270"
|
|
|
|
PV = "3.1"
|
2012-02-06 14:49:14 +00:00
|
|
|
|
2013-08-30 01:56:36 +00:00
|
|
|
SRC_URI = "git://sourceware.org/git/systemtap.git \
|
2014-09-03 08:01:50 +00:00
|
|
|
file://system_map_location.patch \
|
2014-09-23 10:29:00 +00:00
|
|
|
file://configure-allow-to-disable-libvirt.patch \
|
2015-03-15 11:00:39 +00:00
|
|
|
file://x32_abi_time.patch \
|
2016-10-04 15:37:53 +00:00
|
|
|
file://monitor-option.patch \
|
2016-11-08 23:07:41 +00:00
|
|
|
file://no-msgfmt-check.patch \
|
2017-02-24 16:02:03 +00:00
|
|
|
file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
|
|
|
|
file://0001-Install-python-modules-to-correct-library-dir.patch \
|
2017-03-07 20:12:09 +00:00
|
|
|
file://0001-buildrun-remove-quotes-around-I-include-line.patch \
|
2012-04-13 19:56:02 +00:00
|
|
|
"
|
2012-02-06 14:49:14 +00:00
|
|
|
|
|
|
|
# systemtap doesn't support mips
|
2014-02-05 15:10:14 +00:00
|
|
|
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux'
|
2012-02-06 14:49:14 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2013-06-24 14:44:56 +00:00
|
|
|
# systemtap can't be built without optimization, if someone tries to compile an
|
2016-01-29 17:35:58 +00:00
|
|
|
# entire image as -O0, break with fatal.
|
|
|
|
python () {
|
2014-04-24 18:59:20 +00:00
|
|
|
if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
|
2016-01-29 17:35:58 +00:00
|
|
|
bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
|
|
|
|
}
|