aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/bpftool/bpftool.bb
AgeCommit message (Collapse)Author
2024-01-31bpftool: Add missing dep on elfutils-nativeKhem Raj
Point host CC to OE defined BUILD_CC Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07bpftool: add native and nativesdk supportDenys Zagorui
There are issues with nativesdk variant ... ERROR: nativesdk-bpftool-1.0-r0 do_package: QA Issue: nativesdk-bpftool: Files/directories were installed but not shipped in any package: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-xesdk-linux/usr/sbin/bpftool /usr/share/bash-completion/completions/bpftool ... nativesdk.bbclass sets sbindir = "${bindir}" but bpftool is installed under sbin to fix that add sbin to FILES for bpftool completions {prefix} is not used but it seems that bitbake expects that installed files should be perfixed with "${SDKPATHNATIVE}${prefix_nativesdk}" to fix that override bash_compdir Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24bpftool: return do_configure dependencyDenys Zagorui
return do_configure dependency that was removed by (3de33c7ecc99 "bpftool: Fix externalsrc support") do_configure and do_populate_lic runs independently and do_configure require prepared kernel sources dir Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23bpftool: Fix externalsrc supportDenys Zagorui
When the externalsrc class is used the tasks listed in SRCTREECOVEREDTASKS are deleted to prevent them being executed. If externalsrc is used for the kernel then this will include virtual/kernel:do_patch. We can depend on do_shared_workdir instead as this will survive when externalsrc is used. Similar to [openembedded-core] (eab605bab945 "perf: Fix externalsrc support") Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29bpftool: add aarch64 to COMPATIBLE_HOSTGianluigi Spagnuolo
2022-03-04recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03Convert to new override syntaxMartin Jansa
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-03-30bpftool: improve reproducibilityINC@Cisco)
Pass -f(debug|macro)-prefix-map through CC because libbpf build system overrides CFLAGS. Also remap STAGING_KERNEL_DIR because it is also stored in resulting executable Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-28bpftool: remove recipe from blacklistINC@Cisco)
Have not seen build issues for 5.4 and 5.10 x86-64 kernels so allow to build it Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-26use weak assignments for PNBLACKLIST in recipe filesRobert P. J. Day
Make sure PNBLACKLIST assignments in recipe files use weak assignment, so they can be overridden in, for example, local.conf files. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07vboxguestdrivers,can-isotp,bpftool: Add to BlacklistKhem Raj
They need forward porting to kernel 5.2+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29bpftool.bb: Disable SECURITY_CFLAGSKhem Raj
We do not pass CFLAGS to build and fortify sources needs some optimization to be enabled, its better to reset the additional flags and let the build system add them as it needs Fixes build failures like tools/include/tools/libc_compat.h:11:21: error: static declaration of 'reallocarray' follows non-static declaration | 11 | static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) | | ^~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10bpftool: remove LIC_FILES_CHKSUMNicolas Dechesne
bpftool is a 'special' recipe since it does "inherit kernelsrc", like perf in oe-core or cpupower in meta-oe. they don't have their own sources, but reuse the kernel source tree, from virtual/kernel recipe. As such, checking the license file does not seem relevant, since the fetching (and license check) is deferred to the virtual/kernel recipe. Remove LIC_FILES_CHKSUM like it is done in perf and cpupower. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13meta-oe: remove True option to getVar calls (again)André Draszik
A couple have still been missed in the past despite multiple attempts at doing so (or simply have re-appeared?). Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-04bpftool: don't build under muslKhem Raj
uses FTW_SKIP_SUBTREE which is GNU extentions, available in glibc but not in musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27bpftool: add new recipeDaniel Díaz
The bpftool allows for inspection and simple manipulation of eBPF programs and maps, so common in the kernel selftests. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>