diff options
Diffstat (limited to 'recipes-devtools/bcc/bcc_0.13.0.bb')
-rw-r--r-- | recipes-devtools/bcc/bcc_0.13.0.bb | 6 |
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 | ||
19 | SRC_URI = "git://github.com/iovisor/bcc \ | 19 | SRC_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 | " |
23 | SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" | 22 | SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" |
24 | 23 | ||
@@ -35,6 +34,11 @@ EXTRA_OECMAKE = " \ | |||
35 | -DPYTHON_CMD=python3 \ | 34 | -DPYTHON_CMD=python3 \ |
36 | " | 35 | " |
37 | 36 | ||
37 | do_install_append() { | ||
38 | sed -e 's@#!/usr/bin/python@#!/usr/bin/env python3@g' \ | ||
39 | -i $(find ${D}${datadir}/${PN} -type f) | ||
40 | } | ||
41 | |||
38 | FILES_${PN} += "${libdir}/python*/dist-packages" | 42 | FILES_${PN} += "${libdir}/python*/dist-packages" |
39 | 43 | ||
40 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux" | 44 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*)-linux" |