systemtap_git.inc 951 B

12345678910111213141516171819202122
  1. LICENSE = "GPL-2.0-only"
  2. LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  3. SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
  4. PV = "5.2"
  5. SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \
  6. file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
  7. file://0001-Install-python-modules-to-correct-library-dir.patch \
  8. file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
  9. "
  10. COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux'
  11. COMPATIBLE_HOST:libc-musl = 'null'
  12. S = "${WORKDIR}/git"
  13. # systemtap can't be built without optimization, if someone tries to compile an
  14. # entire image as -O0, break with fatal.
  15. python () {
  16. if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
  17. bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.")
  18. }