1*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 2*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 3*4882a593SmuzhiyunSRCREV = "2e9f2f6967e44ce2bf8f34932b5bdd738ece2161" 4*4882a593SmuzhiyunPV = "4.6" 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunSRC_URI = "git://sourceware.org/git/systemtap.git;branch=master \ 7*4882a593Smuzhiyun file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \ 8*4882a593Smuzhiyun file://0001-Install-python-modules-to-correct-library-dir.patch \ 9*4882a593Smuzhiyun file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ 10*4882a593Smuzhiyun file://0001-PR28778-gcc-warning-tweak-for-sprintf-precision-para.patch \ 11*4882a593Smuzhiyun file://0001-PR28804-tune-default-stap-s-buffer-size-on-small-RAM.patch \ 12*4882a593Smuzhiyun " 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunCOMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux' 15*4882a593SmuzhiyunCOMPATIBLE_HOST:libc-musl = 'null' 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunS = "${WORKDIR}/git" 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun# systemtap can't be built without optimization, if someone tries to compile an 20*4882a593Smuzhiyun# entire image as -O0, break with fatal. 21*4882a593Smuzhiyunpython () { 22*4882a593Smuzhiyun if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x": 23*4882a593Smuzhiyun bb.fatal("systemtap can't be built with -O0, using -O1 -Wno-error or -O1 instead.") 24*4882a593Smuzhiyun} 25