summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* libbpf: Upgrade to 1.7.0 releaseKhem Raj2026-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | User space-side features * bpf_map__set_exclusive_program() and bpf_map__exclusive_program() APIs for exclusive map creation; * bpf_program__assoc_struct_ops() and bpf_prog_assoc_struct_ops() APIs to associate a non-struct_ops BPF program with a struct_ops map; * btf__permute() API to rearrange BTF types in-place according to a provided mapping; * BTF type lookup optimization: binary search for btf__find_by_name() and btf__find_by_name_kind(); * btf__add_btf() now accepts split BTF sources; * fsession support (SEC("fsession+") / SEC("fsession.s+")); * BPF_F_CPU and BPF_F_ALL_CPUS flags support for per-CPU map operations; * arena globals are moved to the end of the arena mmap region if kernel supports it; * support for LLVM-generated indirect jump tables (BPF ISA v4) via .jumptables ELF section and BPF_MAP_TYPE_INSN_ARRAY maps; * avoid expensive kallsyms parsing when kprobe.session target is an exact function match; * new dont_enable option in struct bpf_perf_event_opts to suppress perf event auto-enablement; BPF-side features * USDT SIB (Scale-Index-Base) addressing support; * dynptr helper signatures (bpf_dynptr_from_mem, bpf_dynptr_read, bpf_dynptr_write, bpf_dynptr_data) widened from 32-bit to 64-bit size/offset parameters; Bug fixes * As usual, a number of bug fixes included, see full commit log for details. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
* bpftool: add missing build dependencyGyorgy Sarvari2026-03-201-1/+1
| | | | | | | | | | Add openssl as a dependency. Fixes compilation error: | sign.c:16:10: fatal error: openssl/opensslv.h: No such file or directory | 16 | #include <openssl/opensslv.h> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* agent-proxy: Ensure that OE cflags are passed properly to buildKhem Raj2026-03-201-1/+1
| | | | | | | | | | | Current builds were extracting the relevance from LDFLAGS, which is not the right thing to do. cflags carry the right elements to ensure reproducibility with OE, so ensure its respected by makefile Fixes WARNING: agent-proxy-1.97-r0 do_package_qa: QA Issue: File /usr/bin/.debug/agent-proxy in package agent-proxy-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: backport patch to build with glibc 2.43Gyorgy Sarvari2026-03-202-0/+45
| | | | | | | | | | | | As the subject says. Fixes compilation error: | ../../../sources/minicoredumper-2.0.7/src/coreinject/main.c: In function 'inject_data': | ../../../sources/minicoredumper-2.0.7/src/coreinject/main.c:248:11: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] | 248 | p = strrchr(b_fname, '/'); Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rtla: add recipe for real-time linux analysis toolPeter Bergin2026-03-171-0/+47
| | | | | | | | | | | | | | rtla source code is present in the kernel source tree at tools/tracing/rtla. There is another build option for rtla to enable bpf bindings, this was not a quick one to get working and left as a future improvement. Makefile for rtla has evolved in newer kernels (v6.9). Some fixes needed for support with older kernels. This commit was tested against 6.18 and 6.8. Also add rtla to packagegroup-meta-oe-benchmarks. Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cpupower: keep header files for other packages and package systemd servicePeter Bergin2026-03-171-4/+5
| | | | | | | | | | | | | | | | When having a DEPENDS against cpupower it need to leave its header files. Remove that cleanup that has been present since the beginning of the recipe without any (to me) known reason. cpupower ship a systemd service and config file in kernel source tree since kernel 6.16. Package them as a separate package cpupower-systemd to be installed if wanted. Add cpupower to packagegroup-meta-oe to be included in builds of all packages. Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-drgn: upgrade 0.0.33 -> 0.1.0Wang Mingyu2026-03-021-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* agent-proxy: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGSMingli Yu2026-02-061-0/+2
| | | | | | | | | | | | | oe-core has removed DEBUG_PREFIX_MAP from TARGET_LDFLAGS [1], restore it to fix the below error. ERROR: agent-proxy-1.97-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/agent-proxy in package agent-proxy-dbg contains reference to TMPDIR [buildpaths] ERROR: agent-proxy-1.97-r0.wr2600 do_package_qa: Fatal QA errors were found, failing task. [1] https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Add HOMEPAGE variableWeisser, Pascal2026-01-221-0/+1
| | | | | | | Add HOMEPAGE variable to minicoredumper recipe. Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tmon: add a new recipe to generate tmonLiwei Song2026-01-211-0/+40
| | | | | | | | tmon is a monitoring and testing tool for Linux kernel thermal subsystem, it help visualize, tune, and test this complex system. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtracefs: upgrade 1.8.2 -> 1.8.3Wang Mingyu2026-01-121-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Add HOMEPAGE variableWeisser, Pascal2025-12-101-0/+1
| | | | | | | Add HOMEPAGE variable to trace-cmd recipe. Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: fix 2038 year problem in timestamp handlingJiaying Song2025-12-102-0/+56
| | | | | | | | | | | | | | | | The minicoredumper has multiple 2038 year problems where 'long' type variables and strtol() function calls cause overflow on 32-bit systems when handling timestamps after 2038-01-19. This leads to incorrect timestamp formatting in core dump directory names (e.g., sleep40s.20380119.031407+0000.598). Fix by changing 'long timestamp' to 'time_t timestamp' and replacing strtol() with strtoll() to properly handle 64-bit timestamps on 32-bit systems. Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ktls-utils: Fix build with muslKhem Raj2025-12-101-0/+2
| | | | | | | CMSG_NXTHDR results in different signed-ness for cmsghdr on musl. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ktls-utils: Fix out of tree buildsKhem Raj2025-12-102-1/+30
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ktls-utils: Upgrade to 1.3.0Khem Raj2025-12-102-40/+2
| | | | | | | | Drop musl patch as it is fixed upstream [1] [1] https://github.com/oracle/ktls-utils/commit/3b419faa9f67cc053031524cb3b079f054c6b029 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool-native: Empty DEBUG_PREFIX_MAP_EXTRAMingli Yu2025-12-051-0/+2
| | | | | | | | | Most host gcc doesn't support -fcanon-prefix-map right now, so empty DEBUG_PREFIX_MAP_EXTRA to fix the below build error. | gcc: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’? Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: add zlib-native to depends for crash-crossYi Zhao2025-12-021-0/+2
| | | | | | | | | | | Fix the following error when using buildtools-extended: va_server.c:20:10: fatal error: zlib.h: No such file or directory 20 | #include <zlib.h> | ^~~~~~~~ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Update SRC_URI to use HTTPS protocolyuyu2025-11-291-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtracefs: support reproducible buildsChangqing Li2025-11-201-0/+4
| | | | | | | | | | | | | | | | | | | | [snip of Makefile] # bison will create both sqlhist.tab.c and sqlhist.tab.h sqlhist.tab.h: sqlhist.tab.c: sqlhist.y sqlhist.tab.h bison --debug -v --report-file=bison.report -d -o $@ $< [snip] sources of libtracefs is fetched by git, the mtime of sqlhist.y, sqlhist.tab.c is random. so sometimes, sqlhist.tab.c is regenerated, sometimes, sqlhist.tab.c in original sources in used. bison used to gernerate sqlhist.tab.c by upstream libtracefs maybe has different version with the build host one. This make the final libtracefs.so not reproducible. This fix touch sqlhist.tab.c to make it has the newest mtime, and sqlhist.tab.c is not regenerated during build. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtracefs: upgrade 1.8.1 -> 1.8.2Ankur Tyagi2025-11-141-2/+2
| | | | | | | | | | New version added trace_sql.bash for tracefs_sql() bash completions. Changelog: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/tag/?h=libtracefs-1.8.2 Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: upgrade 1.5.0 -> 1.6.2Ankur Tyagi2025-11-143-150/+2
| | | | | | | | | | | | | Dropped patches which are now merged in the upstream Changelog: https://github.com/libbpf/libbpf/releases/tag/v1.5.1 https://github.com/libbpf/libbpf/releases/tag/v1.6.0 https://github.com/libbpf/libbpf/releases/tag/v1.6.1 https://github.com/libbpf/libbpf/releases/tag/v1.6.2 Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-drgn: upgrade 0.0.32 -> 0.0.33Wang Mingyu2025-11-061-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: add cpufreq and cpu-hotplug testsTudor Ambarus2025-09-101-0/+2
| | | | | | | | Add cpufreq and cpu-hotplug tests to kernel-selftest. Tested with pixel6. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool,bpftool-native: Separate out native recipeKhem Raj2025-09-062-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | | build uses prepared sourcedir for kernel and relying on target kernel recipe to prepare this is not the correct thing for native package. Since the kernel will need target dependencies cross-compiler etc. to build/prepare the kernel sourcedir This issue is revealed when bpftool-native is built for riscv64 it ends up in build errors ERROR: bpftool-native-1.0-r0 do_configure: The sstate manifest for task 'linux-libc-headers:populate_sysroot' (multilib variant '') could not be found. The pkgarchs considered were: qemuriscv64, allarch, x86_64_x86_64-nativesdk. But none of these manifests exists: /mnt/b/yoe/master/sources/poky/build/tmp/sstate-control/manifest-qemuriscv64-linux-libc-headers.populate_sysroot /mnt/b/yoe/master/sources/poky/build/tmp/sstate-control/manifest-allarch-linux-libc-headers.populate_sysroot /mnt/b/yoe/master/sources/poky/build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-linux-libc-headers.populate_sysroot ERROR: Logfile of failure stored in: /mnt/b/yoe/master/sources/poky/build/tmp/work/x86_64-linux/bpftool-native/1.0/temp/log.do_configure.2509356 Therefore separate it out into independent recipe and use latest stable kernel to build it. Enable musl builds as well for bpftool, it works now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: handle missing -64.h headersNylon Chen2025-08-281-1/+10
| | | | | | | | | | Some toolchains ship only bits/*.h without the -64.h suffix, causing the recipe to fail. Add a fallback to use *.h if *-64.h is not found, and warn if neither exists. Signed-off-by: Nylon Chen <nylon.chen@sifive.com> Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Adjust ptests for UNPACKDIR changesKhem Raj2025-08-131-4/+4
| | | | | | | | | Location of S have moved under UNPACKDIR and this needs to reflect in ptest install structure as some of tests access the sourcedirs relative to itself during run, these locations are built into tests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ktls-utils: upgrade 1.0.0 -> 1.2.1Wang Mingyu2025-07-302-42/+4
| | | | | | | | 0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch removed since it's included in 1.2.1 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Fix PTP selftest compilation for kernel 6.7+jacobpanov2025-07-091-0/+6
| | | | | | | | | | | | | | | | | The PTP selftest fails to compile with kernel versions 6.7+ due to missing header definitions for PTP_MASK_CLEAR_ALL and PTP_MASK_EN_SINGLE. These definitions were introduced in kernel v6.7 with commit c5a445b. This fix adds kernel headers to CFLAGS during compilation to ensure the required definitions are available. Error before fix: testptp.c:613:31: error: 'PTP_MASK_CLEAR_ALL' undeclared testptp.c:615:38: error: 'PTP_MASK_EN_SINGLE' undeclared Fixes: #878 Signed-off-by: Jacob Panov <jacobpanov@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Remove duplicate setting for SKhem Raj2025-06-281-2/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-drgn: upgrade 0.0.31 -> 0.0.32Wang Mingyu2025-06-261-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-2518-22/+7
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: fix reproducibilityKéléfa Sané2025-05-272-0/+49
| | | | | | | | | Fix reproducibility issue by retrieving the compiler version from the CC env variable, which define the compiler used in the build and not from the native gcc compiler install in the host machine. Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: patch CVE-2025-29481Peter Marko2025-05-062-0/+103
| | | | | | | | | | Backport patch which mentions PoC [1] which is also linked from [2]. [1] https://github.com/libbpf/libbpf/commit/806b4e0a9f658d831119cece11a082ba1578b800 [2] https://nvd.nist.gov/vuln/detail/CVE-2025-29481 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ktls-utils: Update to version 1.0Alistair Francis2025-05-053-3/+39
| | | | | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* blktests: Initial commitAlistair Francis2025-04-301-0/+19
| | | | | | | | | | | | | | | Add support for building the Linux blktests [1] into a guest image. Once booted the tests can be run with commands like this: ```shell cd /usr/blktests/; NVMET_TRTYPES=tcp ./check nvme/062 ``` 1: https://github.com/osandov/blktests Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-drgn: upgrade 0.0.30 -> 0.0.31Wang Mingyu2025-04-231-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: Use -ffile-prefix-map instead of -fdebug-prefix-mapKhem Raj2025-04-221-1/+1
| | | | | | ffile-prefix-map is superset for reproducibility Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: make turbostat's version align with kernel versionChangqing Li2025-04-151-0/+7
| | | | | | | | | | | | | | | | * Current PV 3.4 is the kernel version when the recipe is newly added, set PKGV to KERNEL_VERSION to make it always align with kernel version * turbostat has its runtime version, set CHECK_VERSION_PV to this version to mute the version mismatch warning [snip of turbostat.c] void print_version() { fprintf(outf, "turbostat version 2024.07.26 - Len Brown <lenb@kernel.org>\n"); } [snip] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Convert to use a dedicated UNPACKDIRKhem Raj2025-04-111-5/+4
| | | | | | | | Avoid following warning by using a dedicated unpack directory for sources. WARNING: kernel-selftest-1.0-r0 do_unpack: kernel-selftest: the directory ${WORKDIR}/${BP} (/home/kraj200/yoe/build/tmp/work/qemux86_64-yoe-linux/kernel-self test/1.0/kernel-selftest-1.0) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: fix a segmentation fault errorChangqing Li2025-04-102-1/+46
| | | | | | | | A valid ELF file may contain a SHT_NOBITS .BTF section. This case is not handled correctly in btf_parse_elf, which leads to a segfault. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ktls-utils: Initial commitAlistair Francis2025-04-082-0/+61
| | | | | | | | | | | Package ktls-utils which includes tlsd. This is used when in-kernel TLS consumers need a mechanism to perform TLS handshakes on a connected socket to negotiate TLS session parameters that can then be programmed into the kernel's TLS record protocol engine. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: Fix build for 32bit targetsKhem Raj2025-03-262-0/+84
| | | | | | | | | | | | | | Fixes rame.c: In function 'CORE_ADDR frame_unwind_pc(frame_info*)': frame.c:982:35: error: cannot convert 'CORE_ADDR*' {aka 'long long unsigned int*'} to 'ulong*' {aka 'long unsigned int*'} 982 | crash_decode_ptrauth_pc(&pc); | ^~~ | | | CORE_ADDR* {aka long long unsigned int*} Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: mark.yang <mark.yang@lge.com> Cc: Martin Jansa <martin.jansa@gmail.com>
* crash: fix build with gcc-15mark.yang2025-03-264-0/+284
| | | | | | | | | | | | | | | | | | | | | | | | | * to fix: following erros occured in gcc-15.0.1 environment. signals.c: In function '_rl_signal_handler': signals.c:62:36: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 62 | # define SIGHANDLER_RETURN return (0) | ^ signals.c:160:3: note: in expansion of macro 'SIGHANDLER_RETURN' 160 | SIGHANDLER_RETURN; | ^~~~~~~~~~~~~~~~~ signals.c:141:1: note: declared here 141 | _rl_signal_handler (int sig) | ^~~~~~~~~~~~~~~~~~ signals.c: In function 'rl_set_sighandler': signals.c:343:18: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 343 | act.sa_handler = handler; | ^ In file included from signals.c:30: recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: upgrade 8.0.5 -> 8.0.6mark.yang2025-03-263-1/+1
| | | | | | | | ChangeLog: https://crash-utility.github.io/changelog/ChangeLog-8.0.6.txt Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Fix variable assignment whitespaceRichard Purdie2025-03-203-3/+3
| | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash-cross-canadian: Update to match OE-Core virtual provider changesRichard Purdie2025-01-251-3/+3
| | | | | | | | | | OE-Core changed to to use virtual/nativesdk-cross-XXX replace the older more complex cross providers. Update the recipes to match. This fixes check layer failures on the autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: fix crash cannot work with kaslrXiangyu Chen2025-01-242-0/+90
| | | | | | | | | According to crash help message, crash can decode the random address with "--kaslr=auto". But it has a bug that when with "-S" in parameter, crash will bypass the kaslr option. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: upgrade 1.4.7 -> 1.5.0Wang Mingyu2025-01-071-2/+2
| | | | | | | | Changelog: https://github.com/libbpf/libbpf/releases/tag/v1.5.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: fix libelf.h not found errorPreeti Sachan2025-01-071-1/+1
| | | | | | | | | | | | | When build host machine is not installed with elfutils-libelf-devel, it throws compile error "libelf.h: No such file or directory". Fix missing headers file by including path ${STAGING_INCDIR_NATIVE} via CFLAGS variable. Use headers file from ${STAGING_INCDIR_NATIVE} instead of host machine. Error: | libbpf_internal.h:19:10: fatal error: libelf.h: No such file or directory Signed-off-by: Preeti Sachan <preeti.sachan@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>