On Mon, Oct 07, 2024 at 06:45:32PM +0200, Björn Töpel wrote: > Mark Brown <broonie@xxxxxxxxxx> writes: > > I didn't actually build a kernel, if the build system needs a kernel > > it's just silently not detected that it's missing? > It tries to find a kernel with BTF: > | VMLINUX_BTF_PATHS ?= $(if $(O),$(O)/vmlinux) \ > | $(if $(KBUILD_OUTPUT),$(KBUILD_OUTPUT)/vmlinux) \ > | ../../../../vmlinux \ > | /sys/kernel/btf/vmlinux \ > | /boot/vmlinux-$(shell uname -r) > Similar to all the other selftests using BPF. > (Oh, and at some point the BPF parts should be in lib.mk...) Ah, that'll have found my host kernel. There should probably be some sort of check that it's at least targeting the correct architecture since this *will* go wrong.
Attachment:
signature.asc
Description: PGP signature