From: Jakub Kicinski Date: Fri, 16 Mar 2018 06:26:14 +0000 (-0700) Subject: tools: bpftool: fix dependency file path X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=90126e3a40843de369a496db160ab22bdd6f4c48;p=linux.git 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 Signed-off-by: Daniel Borkmann --- diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile index 4c2867481f5cf..50a715ac9e8bc 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