Skip to content

Commit

Permalink
build: fix echo pipe to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric authored Oct 12, 2024
1 parent c8edf96 commit c0faf83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ out/.options.%:

bpf/vmlinux/system.h:
ifneq ($(KERNEL_VMLINUX),)
$(BPFTOOL) btf dump file $(KERNEL_VMLINUX) format c > $@
$(BPFTOOL) btf dump file $(KERNEL_VMLINUX) format c >$@
else
@echo vmlinux file not found and KERNEL_VMLINUX not specified >2
@echo vmlinux file not found and KERNEL_VMLINUX not specified >&2
@exit 1
endif

Expand All @@ -184,7 +184,7 @@ ifneq ($(STRIP_BTF_EXT),)
endif

src/bpf_skel.h: out/mimic.bpf.o
$(BPFTOOL) gen skeleton out/mimic.bpf.o > $@
$(BPFTOOL) gen skeleton out/mimic.bpf.o >$@

$(filter src/%.o, $(mimic_obj)): src/%.o: $(mimic_headers) $(check_options)

Expand All @@ -206,7 +206,7 @@ $(foreach _tool,$(mimic_tools),$(eval $(call generate_tool_rule,$(_tool))))

out/mimic.1.gz: docs/mimic.1.md
$(mkdir_p)
ronn -r --pipe $< | gzip -c > $@
ronn -r --pipe $< | gzip -c >$@

out/mimic.pot:
$(mkdir_p)
Expand Down

0 comments on commit c0faf83

Please sign in to comment.