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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
This commit is contained in:
Jakub Kicinski 2018-03-15 23:26:14 -07:00 • committed by Daniel Borkmann
commit 90126e3a40

View file

@ -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