summaryrefslogtreecommitdiffstats
path: root/tools/bpf/Makefile
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2018-03-08 23:00:39 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-03-09 10:22:59 +0100
commit58416c37d0fe1c46aecb293283f2d558526cac19 (patch)
treef0f96a8e7f39095e530cf5fd03938aad87ed672e /tools/bpf/Makefile
parent6c0710084e6bf5337c9af8075e266069b79ac2c2 (diff)
downloadlinux-58416c37d0fe1c46aecb293283f2d558526cac19.tar.gz
linux-58416c37d0fe1c46aecb293283f2d558526cac19.tar.bz2
linux-58416c37d0fe1c46aecb293283f2d558526cac19.zip
tools: bpf: call descend in Makefile
Use the descend macro to properly propagate $(subdir) to bpftool. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/Makefile')
-rw-r--r--tools/bpf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile
index e8d9e4125bf3..daca0a4277d1 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