From: Jiri Benc Date: Thu, 8 Mar 2018 22:00:39 +0000 (+0100) Subject: tools: bpf: call descend in Makefile X-Git-Tag: v5.15~9146^2~156^2~5^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58416c37d0fe1c46aecb293283f2d558526cac19;p=platform%2Fkernel%2Flinux-starfive.git tools: bpf: call descend in Makefile Use the descend macro to properly propagate $(subdir) to bpftool. Signed-off-by: Jiri Benc Signed-off-by: Daniel Borkmann --- diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile index e8d9e41..daca0a4 100644 --- a/tools/bpf/Makefile +++ b/tools/bpf/Makefile @@ -76,12 +76,12 @@ install: $(PROGS) bpftool_install $(INSTALL) $(OUTPUT)bpf_asm $(DESTDIR)$(prefix)/bin/bpf_asm bpftool: - $(MAKE) -C bpftool + $(call descend,bpftool) bpftool_install: - $(MAKE) -C bpftool install + $(call descend,bpftool,install) bpftool_clean: - $(MAKE) -C bpftool clean + $(call descend,bpftool,clean) .PHONY: bpftool FORCE