]> git.baikalelectronics.ru Git - kernel.git/commit
bpftool: Normalize compile rules to specify output file last
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 11 Nov 2021 05:36:16 +0000 (21:36 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 12 Nov 2021 00:54:05 +0000 (16:54 -0800)
commitc3b8a12878a6bf78a326625750837d38020100d5
treef89a9d4b23a372f38e5ec3823991f61f5db632ba
parentef4e41db31cfb21fc79ece9e869428b6ad407288
bpftool: Normalize compile rules to specify output file last

When dealing with verbose Makefile output, it's extremely confusing when
compiler invocation commands don't specify -o <output.o> as the last
argument. Normalize bpftool's Makefile to do just that, as most other
BPF-related Makefiles are already doing that.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211111053624.190580-2-andrii@kernel.org
tools/bpf/bpftool/Makefile