1LICENSE = "GPL-2.0-only" 2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 3SRCREV = "2e9f2f6967e44ce2bf8f34932b5bdd738ece2161" 4PV = "4.6" 5 6SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master \ 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 \ 9 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ 10 file://0001-PR28778-gcc-warning-tweak-for-sprintf-precision-para.patch \ 11 file://0001-PR28804-tune-default-stap-s-buffer-size-on-small-RAM.patch \ 12 " 13 14COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux' 15COMPATIBLE_HOST:libc-musl = 'null' 16 17S = "${WORKDIR}/git" 18 19# systemtap can't be built without optimization, if someone tries to compile an 20# entire image as -O0, break with fatal. 21python () { 22 if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x": 23 bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.") 24} 25