Skip to content

Commit

Permalink
tools: bpf: Fix error in 'make -C tools/ bpf_install'
Browse files Browse the repository at this point in the history
make[2]: *** No rule to make target 'install'.  Stop.
make[1]: *** [Makefile:122: runqslower_install] Error 2
make: *** [Makefile:116: bpf_install] Error 2

There is no rule for target 'install' in tools/bpf/runqslower/Makefile,
and there is no need to install it, so just remove 'runqslower_install'.

Fixes: 9c01546 ("tools/bpf: Add runqslower tool to tools/bpf")
Signed-off-by: Wei Li <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
  • Loading branch information
stkid authored and anakryiko committed Jul 7, 2021
1 parent 5616e89 commit 1d71925
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/bpf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ clean: bpftool_clean runqslower_clean resolve_btfids_clean
$(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpf
$(Q)$(RM) -r -- $(OUTPUT)feature

install: $(PROGS) bpftool_install runqslower_install
install: $(PROGS) bpftool_install
$(call QUIET_INSTALL, bpf_jit_disasm)
$(Q)$(INSTALL) -m 0755 -d $(DESTDIR)$(prefix)/bin
$(Q)$(INSTALL) $(OUTPUT)bpf_jit_disasm $(DESTDIR)$(prefix)/bin/bpf_jit_disasm
Expand All @@ -118,9 +118,6 @@ bpftool_clean:
runqslower:
$(call descend,runqslower)

runqslower_install:
$(call descend,runqslower,install)

runqslower_clean:
$(call descend,runqslower,clean)

Expand All @@ -131,5 +128,5 @@ resolve_btfids_clean:
$(call descend,resolve_btfids,clean)

.PHONY: all install clean bpftool bpftool_install bpftool_clean \
runqslower runqslower_install runqslower_clean \
runqslower runqslower_clean \
resolve_btfids resolve_btfids_clean

0 comments on commit 1d71925

Please sign in to comment.