Commit 58416c37 authored by Jiri Benc's avatar Jiri Benc Committed by Daniel Borkmann

tools: bpf: call descend in Makefile

Use the descend macro to properly propagate $(subdir) to bpftool.
Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 6c071008
...@@ -76,12 +76,12 @@ install: $(PROGS) bpftool_install ...@@ -76,12 +76,12 @@ install: $(PROGS) bpftool_install
$(INSTALL) $(OUTPUT)bpf_asm $(DESTDIR)$(prefix)/bin/bpf_asm $(INSTALL) $(OUTPUT)bpf_asm $(DESTDIR)$(prefix)/bin/bpf_asm
bpftool: bpftool:
$(MAKE) -C bpftool $(call descend,bpftool)
bpftool_install: bpftool_install:
$(MAKE) -C bpftool install $(call descend,bpftool,install)
bpftool_clean: bpftool_clean:
$(MAKE) -C bpftool clean $(call descend,bpftool,clean)
.PHONY: bpftool FORCE .PHONY: bpftool FORCE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment