[SRU][G,H][PATCH 0/3] disable building bpf selftests

Kamal Mostafa kamal at canonical.com
Mon Dec 14 22:00:37 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1908144

Building tools/testing/selftests/bpf/ requires dependencies which cannot
be easily satisfied by our build process. The problem is well-described
by the pending upstream patch:

https://lore.kernel.org/bpf/20201210185233.28091-1-broonie@kernel.org/
From: Mark Brown <broonie at kernel.org>
Subject: [PATCH] selftests: Skip BPF seftests by default

To effect the same for {groovy, hirsute} we must instead make a
debian/rules change via "UBUNTU: disable building bpf selftests (no
VMLINUX_BTF)".

But lets also pick up the upstream change above, as well as my related
"clarify" change, also pending upstream.

These three patches should be applied to {groovy, hirsute}:

  UBUNTU: SAUCE: selftests/bpf: clarify build error if no vmlinux
  UBUNTU: SAUCE: selftests: Skip BPF seftests by default
  UBUNTU: disable building bpf selftests (no VMLINUX_BTF)

 -Kamal

---

Kamal Mostafa (2):
  UBUNTU: SAUCE: selftests/bpf: clarify build error if no vmlinux
  UBUNTU: disable building bpf selftests (no VMLINUX_BTF)

Mark Brown (1):
  UBUNTU: SAUCE: selftests: Skip BPF seftests by default

 debian/rules.d/0-common-vars.mk      | 2 +-
 tools/testing/selftests/Makefile     | 6 ++++--
 tools/testing/selftests/bpf/Makefile | 3 +++
 3 files changed, 8 insertions(+), 3 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list