diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2020-06-02 19:56:48 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-06-02 22:02:38 +0200 |
commit | d70a6be1e2ab98f13688e4a529b326e8e11230d0 (patch) | |
tree | 639cc6eba6d0d30925f816a0de2084a7c3636920 /tools/bpf/bpftool/.gitignore | |
parent | 9bc499befeef07a4d79f4924bfca05634ad8fc97 (diff) |
tools/bpf: Don't use $(COMPILE.c)
When using make kselftest TARGETS=bpf, tools/bpf is built with
MAKEFLAGS=rR, which causes $(COMPILE.c) to be undefined, which in turn
causes the build to fail with
CC kselftest/bpf/tools/build/bpftool/map_perf_ring.o
/bin/sh: 1: -MMD: not found
Fix by using $(CC) $(CFLAGS) -c instead of $(COMPILE.c).
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200602175649.2501580-2-iii@linux.ibm.com
Diffstat (limited to 'tools/bpf/bpftool/.gitignore')
0 files changed, 0 insertions, 0 deletions