summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc')
-rw-r--r--external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc b/external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc
new file mode 100644
index 00000000..274fcde5
--- /dev/null
+++ b/external/poky/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -0,0 +1,26 @@
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+SRCREV = "428f84e9e656bce71018e8902e4edb8aacafcc0e"
+PV = "4.0"
+
+SRC_URI = "git://sourceware.org/git/systemtap.git \
+ file://configure-allow-to-disable-libvirt.patch \
+ file://x32_abi_time.patch \
+ file://monitor-option.patch \
+ file://no-msgfmt-check.patch \
+ file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
+ file://0001-Install-python-modules-to-correct-library-dir.patch \
+ file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
+ "
+
+COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
+COMPATIBLE_HOST_libc-musl = 'null'
+
+S = "${WORKDIR}/git"
+
+# systemtap can't be built without optimization, if someone tries to compile an
+# entire image as -O0, break with fatal.
+python () {
+ if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
+ bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
+}