[PATCH v2] selftests: sched_ext: Add sched_ext as proper selftest target
Mark Brown
broonie at kernel.org
Mon Oct 7 12:37:21 PDT 2024
On Mon, Oct 07, 2024 at 06:45:32PM +0200, Björn Töpel wrote:
> Mark Brown <broonie at kernel.org> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20241007/445cb668/attachment.sig>
More information about the linux-riscv
mailing list