]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/sched_ext: add order-only dependency of runner.o on BPFOBJ
authorIhor Solodrai <ihor.solodrai@pm.me>
Mon, 21 Oct 2024 23:16:52 +0000 (23:16 +0000)
committerTejun Heo <tj@kernel.org>
Wed, 23 Oct 2024 18:56:32 +0000 (08:56 -1000)
commit9b3c11a867a82ebee4e096008014417918b82801
tree80a9605c622418365ba95045aae796053d8a45e4
parent60e339be100d7d49e13616bd8b4b1b864f0a64a0
selftests/sched_ext: add order-only dependency of runner.o on BPFOBJ

The runner.o may start building before libbpf headers are installed,
and as a result build fails. This happened a couple of times on
libbpf/ci test jobs:
  * https://github.com/libbpf/ci/actions/runs/11447667257/job/31849533100
  * https://github.com/theihor/libbpf-ci/actions/runs/11445162764/job/31841649552

Headers are installed in a recipe for $(BPFOBJ) target, and adding an
order-only dependency should ensure this doesn't happen.

Signed-off-by: Ihor Solodrai <ihor.solodrai@pm.me>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/sched_ext/Makefile