Skip to content

Commit 58416c3

Browse files
Jiri Bencborkmann
authored andcommitted
tools: bpf: call descend in Makefile
Use the descend macro to properly propagate $(subdir) to bpftool. Signed-off-by: Jiri Benc <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
1 parent 6c07100 commit 58416c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/bpf/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ install: $(PROGS) bpftool_install
7676
$(INSTALL) $(OUTPUT)bpf_asm $(DESTDIR)$(prefix)/bin/bpf_asm
7777

7878
bpftool:
79-
$(MAKE) -C bpftool
79+
$(call descend,bpftool)
8080

8181
bpftool_install:
82-
$(MAKE) -C bpftool install
82+
$(call descend,bpftool,install)
8383

8484
bpftool_clean:
85-
$(MAKE) -C bpftool clean
85+
$(call descend,bpftool,clean)
8686

8787
.PHONY: bpftool FORCE

0 commit comments

Comments
 (0)