arm64: clean up tools Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 27 Feb 2022 08:52:32 +0000 (17:52 +0900)
committerWill Deacon <will@kernel.org>
Tue, 8 Mar 2022 11:17:10 +0000 (11:17 +0000)
commit819a47d24b61b5e2d660d19c8798f0f9b4498b73
tree80fd8c18559b1c433f3f85cae019c131fcf140ba
parentee94b5a061b121305cae8ff46b7fa8325aa84b12
arm64: clean up tools Makefile

Remove unused gen-y.

Remove redundant $(shell ...) because 'mkdir' is done in cmd_gen_cpucaps.

Replace $(filter-out $(PHONY), $^) with the $(real-prereqs) shorthand.

The '&&' in cmd_gen_cpucaps should be replaced with ';' because it is
run under 'set -e' environment.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20220227085232.206529-1-masahiroy@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/tools/Makefile