[OpenWrt-Devel] [RFC RFT PATCH 2/2] mediatek: mt7623: add back images for mt7623a-rfb-emmc

Adrian Schmutzler freifunk at adrianschmutzler.de
Tue Jan 14 09:40:17 EST 2020


The image creation for the mt7623a-rfb-emmc has been removed during
a patch refresh without specific comment. The corresponding base-files
entries are still there, and the DTS is still present in kernel.

This adds back the corresponding image definition.

While at it, apply alphabetic sorting to Makefile.

Fixes: 050da2107a7e ("mediatek: backport upstream mediatek patches")

Cc: John Crispin <john at phrozen.org>
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/mediatek/image/mt7623.mk | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk
index fd609d22fa..ab08ca83a3 100644
--- a/target/linux/mediatek/image/mt7623.mk
+++ b/target/linux/mediatek/image/mt7623.mk
@@ -1,3 +1,19 @@
+define Device/lemaker_bananapi-bpi-r2
+  DEVICE_VENDOR := LeMaker
+  DEVICE_MODEL := Banana Pi R2
+  DEVICE_DTS := mt7623n-bananapi-bpi-r2
+  SUPPORTED_DEVICES := bananapi,bpi-r2
+endef
+TARGET_DEVICES += lemaker_bananapi-bpi-r2
+
+define Device/mediatek_mt7623a-rfb-emmc
+  DEVICE_VENDOR := MediaTek
+  DEVICE_MODEL := MT7623A reference board
+  DEVICE_VARIANT := eMMC
+  DEVICE_DTS := mt7623a-rfb-emmc
+endef
+TARGET_DEVICES += mediatek_mt7623a-rfb-emmc
+
 define Device/unielec_u7623-02-emmc-512m
   DEVICE_VENDOR := UniElec
   DEVICE_MODEL := U7623-02
@@ -8,11 +24,3 @@ define Device/unielec_u7623-02-emmc-512m
   IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
 endef
 TARGET_DEVICES += unielec_u7623-02-emmc-512m
-
-define Device/lemaker_bananapi-bpi-r2
-  DEVICE_VENDOR := LeMaker
-  DEVICE_MODEL := Banana Pi R2
-  DEVICE_DTS := mt7623n-bananapi-bpi-r2
-  SUPPORTED_DEVICES := bananapi,bpi-r2
-endef
-TARGET_DEVICES += lemaker_bananapi-bpi-r2
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list