diff options
author | He Zhe <zhe.he@windriver.com> | 2020-06-30 08:33:02 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-30 08:13:36 -0700 |
commit | 14a52c3633e8f32fdf8bb5a259a41f5cfb8cc535 (patch) | |
tree | c4d0fa0b82eef62bf4d7cd164cc86b3944949fa4 /dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb | |
parent | 18581f39824818651ecb4c6cb65244ad67c7f01f (diff) | |
download | meta-clang-14a52c3633e8f32fdf8bb5a259a41f5cfb8cc535.tar.gz |
bcc: Fix KBUILD_MODNAME errors for kernel 5.7 and latter
Backport two patches to fix the following runtime failures.
Networking tools fail with include/net/flow_offload.h:304:4: error: use of
undeclared identifier 'KBUILD_MODNAME'.
Signed-off-by: He Zhe <zhe.he@windriver.com>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb index 563c6cc..5a628db 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.13.0.bb | |||
@@ -17,6 +17,8 @@ RDEPENDS_${PN} += "bash python3 python3-core python3-setuptools xz" | |||
17 | SRC_URI = "gitsm://github.com/iovisor/bcc \ | 17 | SRC_URI = "gitsm://github.com/iovisor/bcc \ |
18 | file://0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch \ | 18 | file://0001-python-CMakeLists.txt-Remove-check-for-host-etc-debi.patch \ |
19 | file://0001-tools-opensnoop-snoop-do_sys_openat2-for-kernel-v5.6.patch \ | 19 | file://0001-tools-opensnoop-snoop-do_sys_openat2-for-kernel-v5.6.patch \ |
20 | file://0001-Add-KBUILD_MODNAME-flag-to-default-cflags.patch \ | ||
21 | file://0001-Delete-existing-kbuild_modname-definitions.patch \ | ||
20 | " | 22 | " |
21 | 23 | ||
22 | SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" | 24 | SRCREV = "942227484d3207f6a42103674001ef01fb5335a0" |