summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-03-16 07:26:14 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-03-16 09:22:55 +0100
commit90126e3a40843de369a496db160ab22bdd6f4c48 (patch)
tree6dc2811c23dfa1a6bb42edcc46ddc2483f6a6107 /tools
parentMerge branch 'bpf-stackmap-build-id' (diff)
downloadlinux-90126e3a40843de369a496db160ab22bdd6f4c48.tar.xz
linux-90126e3a40843de369a496db160ab22bdd6f4c48.zip
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')
-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