treewide: simplify inclusion of subtarget image files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 7 Jun 2020 11:11:15 +0000 (13:11 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 10 Jun 2020 23:44:13 +0000 (01:44 +0200)
commitbb39fea11aae2888e6a0129055de21995da92073
tree5dcca668bad0414fc458db065424b4ecc456e20a
parent108df3eabbb4dd93ff3c616c9455d69daaa98b49
treewide: simplify inclusion of subtarget image files

Many target use a repetitive if-include scheme for their subtarget
image files, though their names are consistent with the subtarget
names.

This patch removes these redundant conditions and just uses the
variable for the include where the target setup allows it.

For sunxi, this includes a trivial rename of the subtarget image
Makefiles.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
14 files changed:
target/linux/at91/image/Makefile
target/linux/ath79/image/Makefile
target/linux/layerscape/image/Makefile
target/linux/mvebu/image/Makefile
target/linux/oxnas/image/Makefile
target/linux/rockchip/image/Makefile
target/linux/sunxi/image/Makefile
target/linux/sunxi/image/cortex-a53.mk [deleted file]
target/linux/sunxi/image/cortex-a7.mk [deleted file]
target/linux/sunxi/image/cortex-a8.mk [deleted file]
target/linux/sunxi/image/cortexa53.mk [new file with mode: 0644]
target/linux/sunxi/image/cortexa7.mk [new file with mode: 0644]
target/linux/sunxi/image/cortexa8.mk [new file with mode: 0644]
target/linux/x86/image/Makefile