summaryrefslogtreecommitdiffstats
path: root/tools/bpf
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-03-15 23:26:14 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-03-16 09:22:55 +0100
commit90126e3a40843de369a496db160ab22bdd6f4c48 (patch)
tree6dc2811c23dfa1a6bb42edcc46ddc2483f6a6107 /tools/bpf
parent68de5ef4c786f63bf19b146fa009ee9208318d0b (diff)
downloadlinux-90126e3a40843de369a496db160ab22bdd6f4c48.tar.bz2
tools: bpftool: fix dependency file path
Auto-generated dependency files are in the OUTPUT directory, we need to include them from there. This fixes object files not being rebuilt after header changes. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf')
-rw-r--r--tools/bpf/bpftool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index 4c2867481f5c..50a715ac9e8b 100644
--- a/tools/bpf/bpftool/Makefile
+++ b/tools/bpf/bpftool/Makefile
@@ -70,7 +70,7 @@ ifeq ($(feature-disassembler-four-args), 1)
CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE
endif
-include $(wildcard *.d)
+include $(wildcard $(OUTPUT)*.d)
all: $(OUTPUT)bpftool