Skip to content

Commit

Permalink
libbpf-tools: remove redundant slash
Browse files Browse the repository at this point in the history
Since the dir function returns a path which ends with a trailing slash,
there is no need to add it again.

Signed-off-by: Yuntao Wang <[email protected]>
  • Loading branch information
ytcoode committed Feb 21, 2022
1 parent f96fed0 commit 5525519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbpf-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ $(OUTPUT)/%.bpf.o: %.bpf.c $(LIBBPF_OBJ) $(wildcard %.h) $(ARCH)/vmlinux.h | $(O
$(LIBBPF_OBJ): $(wildcard $(LIBBPF_SRC)/*.[ch]) | $(OUTPUT)/libbpf
$(call msg,LIB,$@)
$(Q)$(MAKE) -C $(LIBBPF_SRC) BUILD_STATIC_ONLY=1 \
OBJDIR=$(dir $@)/libbpf DESTDIR=$(dir $@) \
OBJDIR=$(dir $@)libbpf DESTDIR=$(dir $@) \
INCLUDEDIR= LIBDIR= UAPIDIR= \
install

Expand Down

0 comments on commit 5525519

Please sign in to comment.