diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-07 13:11:15 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-11 01:44:13 +0200 |
commit | bb39fea11aae2888e6a0129055de21995da92073 (patch) | |
tree | 5dcca668bad0414fc458db065424b4ecc456e20a /target/linux/sunxi/image/cortex-a53.mk | |
parent | 108df3eabbb4dd93ff3c616c9455d69daaa98b49 (diff) | |
download | upstream-bb39fea11aae2888e6a0129055de21995da92073.tar.gz upstream-bb39fea11aae2888e6a0129055de21995da92073.tar.bz2 upstream-bb39fea11aae2888e6a0129055de21995da92073.zip |
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>
Diffstat (limited to 'target/linux/sunxi/image/cortex-a53.mk')
-rw-r--r-- | target/linux/sunxi/image/cortex-a53.mk | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/target/linux/sunxi/image/cortex-a53.mk b/target/linux/sunxi/image/cortex-a53.mk deleted file mode 100644 index 7a70de4dff..0000000000 --- a/target/linux/sunxi/image/cortex-a53.mk +++ /dev/null @@ -1,86 +0,0 @@ -# -# Copyright (C) 2013-2016 OpenWrt.org -# Copyright (C) 2016 Yousong Zhou -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Device/sun50i - SUNXI_DTS_DIR := allwinner/ - KERNEL_NAME := Image - KERNEL := kernel-bin -endef - -define Device/sun50i-h5 - SOC := sun50i-h5 - $(Device/sun50i) -endef - -define Device/sun50i-a64 - SOC := sun50i-a64 - $(Device/sun50i) -endef - -define Device/friendlyarm_nanopi-neo-plus2 - DEVICE_VENDOR := FriendlyARM - DEVICE_MODEL := NanoPi NEO Plus2 - SUPPORTED_DEVICES:=nanopi-neo-plus2 - $(Device/sun50i-h5) -endef -TARGET_DEVICES += friendlyarm_nanopi-neo-plus2 - -define Device/friendlyarm_nanopi-neo2 - DEVICE_VENDOR := FriendlyARM - DEVICE_MODEL := NanoPi NEO2 - SUPPORTED_DEVICES:=nanopi-neo2 - $(Device/sun50i-h5) -endef -TARGET_DEVICES += friendlyarm_nanopi-neo2 - -define Device/olimex_a64-olinuxino - DEVICE_VENDOR := Olimex - DEVICE_MODEL := A64-Olinuxino - DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware - $(Device/sun50i-a64) - SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino -endef -TARGET_DEVICES += olimex_a64-olinuxino - -define Device/olimex_a64-olinuxino-emmc - DEVICE_VENDOR := Olimex - DEVICE_MODEL := A64-Olinuxino - DEVICE_VARIANT := eMMC - DEVICE_PACKAGES := kmod-rtl8723bs rtl8723bs-firmware - $(Device/sun50i-a64) - SUNXI_DTS := $$(SUNXI_DTS_DIR)$$(SOC)-olinuxino-emmc -endef -TARGET_DEVICES += olimex_a64-olinuxino-emmc - -define Device/pine64_pine64-plus - DEVICE_VENDOR := Pine64 - DEVICE_MODEL := Pine64+ - $(Device/sun50i-a64) -endef -TARGET_DEVICES += pine64_pine64-plus - -define Device/pine64_sopine-baseboard - DEVICE_VENDOR := Pine64 - DEVICE_MODEL := SoPine - $(Device/sun50i-a64) -endef -TARGET_DEVICES += pine64_sopine-baseboard - -define Device/xunlong_orangepi-pc2 - DEVICE_VENDOR := Xunlong - DEVICE_MODEL := Orange Pi PC 2 - $(Device/sun50i-h5) -endef -TARGET_DEVICES += xunlong_orangepi-pc2 - -define Device/xunlong_orangepi-zero-plus - DEVICE_VENDOR := Xunlong - DEVICE_MODEL := Orange Pi Zero Plus - $(Device/sun50i-h5) -endef -TARGET_DEVICES += xunlong_orangepi-zero-plus |