]> 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)
commit1394bd3b6ec5f5cdd33e8c8f0b647f1945a476b4
treef89a9d4b23a372f38e5ec3823991f61f5db632ba
parent26abc5c49200bce4a565e5a5a3fa7821ee74ce0e
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