Two fixes for make kselftest TARGETS=bpf
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools/bpf: Don't use $(COMPILE.c)tools/ tools/ | +7 | 0 replies | |
| 2/2 | selftests/bpf: Add a default $(CXX) valuetools/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf 0/2] Two fixes for make kselftest TARGETS=bpf
While the primary documented way to run BPF tests is by invoking make in tools/testing/selftests/bpf, kselftest documentation implies that make kselftest TARGETS=bpf from the top directory should work as well. This patch series contains two fixes that were neccesary to make it run:
- Patch 1: $(COMPILE.c) -> $(CC) $(CFLAGS) -c
- Patch 2: Add CXX=$(CROSS_COMPILE)g++ default value
Ilya Leoshkevich (2):
tools/bpf: Don't use $(COMPILE.c)
selftests/bpf: Add a default $(CXX) value
tools/bpf/Makefile | 6 +++--- tools/bpf/bpftool/Makefile | 8 ++++---- tools/testing/selftests/bpf/Makefile | 1 + 3 files changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.4