Skip to content

Commit

Permalink
tools: bpf: call descend in Makefile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Benc authored and Daniel Borkmann committed Mar 9, 2018
1 parent 6c07100 commit 58416c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/bpf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 58416c3

Please sign in to comment.