summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/bcc/bcc_0.13.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/bcc/bcc_0.13.0.bb')
-rw-r--r--recipes-devtools/bcc/bcc_0.13.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-devtools/bcc/bcc_0.13.0.bb b/recipes-devtools/bcc/bcc_0.13.0.bb
index 2a346c1..6c92b17 100644
--- a/recipes-devtools/bcc/bcc_0.13.0.bb
+++ b/recipes-devtools/bcc/bcc_0.13.0.bb
@@ -18,7 +18,6 @@ RDEPENDS_${PN} += "bash python3 python3-core"
18 18
19SRC_URI = "git://github.com/iovisor/bcc \ 19SRC_URI = "git://github.com/iovisor/bcc \
20 file://0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch \ 20 file://0001-Allow-to-build-with-OE-LLVM-cross-compiled-package.patch \
21 file://0001-BCC-Use-python-3.patch \
22 " 21 "
23SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" 22SRCREV = "942227484d3207f6a42103674001ef01fb5335a0"
24 23
@@ -35,6 +34,11 @@ EXTRA_OECMAKE = " \
35 -DPYTHON_CMD=python3 \ 34 -DPYTHON_CMD=python3 \
36" 35"
37 36
37do_install_append() {
38 sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \
39 -i $(find ${D}${datadir}/${PN} -type f)
40}
41
38FILES_${PN} += "${libdir}/python*/dist-packages" 42FILES_${PN} += "${libdir}/python*/dist-packages"
39 43
40COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux" 44COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux"