[PATCH bpf 0/2] Two fixes for make kselftest TARGETS=bpf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.25.4




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux