blob: b4955c8aca760f3cf1b7575e1955b2585388daa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
SUMMARY = "bpftrace"
HOMEPAGE = "https://github.com/iovisor/bpftrace"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
DEPENDS += "bison-native \
ninja-native \
elfutils-native \
flex-native \
gtest-native \
git-native \
${MLPREFIX}elfutils \
${MLPREFIX}binutils \
${MLPREFIX}flex \
clang \
bcc \
"
RDEPENDS_${PN} += "bash python3"
SRC_URI = "git://github.com/iovisor/bpftrace \
file://0001-Allow-to-build-with-OE-llvm-clang-cross-compiled-pac.patch \
"
SRCREV = "b1200771b61fd77ed7c5b326e7960d24514dd961"
S = "${WORKDIR}/git"
inherit cmake
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
EXTRA_OECMAKE = " \
-DCMAKE_BUILD_TYPE=Release \
"
FILES_${PN} += "${prefix}/man/*"
COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux"
COMPATIBLE_HOST_libc-musl = "null"
|