diff options
author | Michal Wojcik <michal.wojcik@linaro.org> | 2022-10-18 11:09:42 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-10-20 15:32:45 -0700 |
commit | a201c568d82e65ca27ff18ee23eb6a809f3924a7 (patch) | |
tree | c62ca72f3ac64127fcfef923b430510c09938be7 /dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb | |
parent | 84fedfcd3432c5c2a5c75452e825cb7c657a835d (diff) | |
download | meta-clang-a201c568d82e65ca27ff18ee23eb6a809f3924a7.tar.gz |
bpftrace: Simplify ptest script and use posix syntax
Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb index 0c0ea2a..ca324bc 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.16.0.bb | |||
@@ -15,7 +15,6 @@ DEPENDS += "bison-native \ | |||
15 | 15 | ||
16 | PV .= "+git${SRCREV}" | 16 | PV .= "+git${SRCREV}" |
17 | RDEPENDS:${PN} += "bash python3 xz" | 17 | RDEPENDS:${PN} += "bash python3 xz" |
18 | RDEPENDS:${PN}-ptest += "bash" | ||
19 | 18 | ||
20 | SRC_URI = "git://github.com/iovisor/bpftrace;branch=master;protocol=https \ | 19 | SRC_URI = "git://github.com/iovisor/bpftrace;branch=master;protocol=https \ |
21 | file://run-ptest \ | 20 | file://run-ptest \ |
@@ -37,7 +36,7 @@ PACKAGECONFIG[tests] = "-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF,gtest xxd-native" | |||
37 | do_install_ptest() { | 36 | do_install_ptest() { |
38 | if [ -e ${B}/tests/bpftrace_test ]; then | 37 | if [ -e ${B}/tests/bpftrace_test ]; then |
39 | install -Dm 755 ${B}/tests/bpftrace_test ${D}${PTEST_PATH}/tests/bpftrace_test | 38 | install -Dm 755 ${B}/tests/bpftrace_test ${D}${PTEST_PATH}/tests/bpftrace_test |
40 | cp -rf ${B}/tests/runtime* ${D}${PTEST_PATH}/tests | 39 | cp -rf ${B}/tests/runtime ${D}${PTEST_PATH}/tests |
41 | cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests | 40 | cp -rf ${B}/tests/test* ${D}${PTEST_PATH}/tests |
42 | fi | 41 | fi |
43 | } | 42 | } |