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>
This commit is contained in:
parent
6c0710084e
commit
58416c37d0
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue