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)
commit6501182c08f76e4118177b42614174547e1bd149
treef89a9d4b23a372f38e5ec3823991f61f5db632ba
parent3a75111d8a430ac6684e04172c9f84e9b1b1454e
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