diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2020-03-20 01:23:08 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-03-19 14:47:26 -0700 |
| commit | 5ebccc89053e734fec966242e1855889b3cac956 (patch) | |
| tree | 308d6dc00acd99889e335a61c05a11300c9439a6 /dynamic-layers | |
| parent | f76a6db1149842ee74de71323261c46470436239 (diff) | |
| download | meta-clang-5ebccc89053e734fec966242e1855889b3cac956.tar.gz | |
bpftrace: include only when oe layer is included
This depends on bcc which has also been moved to
dynamic-layers/openembedded-layer.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers')
| -rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb new file mode 100644 index 0000000..c0b3c66 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.9.4.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "bpftrace" | ||
| 2 | HOMEPAGE = "https://github.com/iovisor/bpftrace" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 5 | |||
| 6 | DEPENDS += "bison-native \ | ||
| 7 | flex-native \ | ||
| 8 | gzip-native \ | ||
| 9 | elfutils \ | ||
| 10 | bcc \ | ||
| 11 | " | ||
| 12 | |||
| 13 | RDEPENDS_${PN} += "bash python3" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/iovisor/bpftrace \ | ||
| 16 | " | ||
| 17 | SRCREV = "b1200771b61fd77ed7c5b326e7960d24514dd961" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | inherit cmake | ||
| 22 | |||
| 23 | EXTRA_OECMAKE = " \ | ||
| 24 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 25 | -DBUILD_TESTING=OFF \ | ||
| 26 | " | ||
| 27 | |||
| 28 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux" | ||
| 29 | COMPATIBLE_HOST_libc-musl = "null" | ||
