[openwrt/openwrt] mediatek/mt7623: unify features and packages, add ext4 and usb
LEDE Commits
lede-commits at lists.infradead.org
Wed Jul 8 17:22:52 EDT 2020
ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c848bc6cd576baf1d538d97662e410289214f0b7
commit c848bc6cd576baf1d538d97662e410289214f0b7
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Mon Jun 15 09:47:09 2020 +0100
mediatek/mt7623: unify features and packages, add ext4 and usb
The supported MT7623 boards are mostly identical (what with being a
System-on-Chip and all), so unify the DEVICE_PACKAGES for them, and add
ext4 and usb support for them.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
target/linux/mediatek/image/mt7623.mk | 6 ++++--
target/linux/mediatek/mt7623/target.mk | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk
index 4514719c1d..2257d8010f 100644
--- a/target/linux/mediatek/image/mt7623.mk
+++ b/target/linux/mediatek/image/mt7623.mk
@@ -5,6 +5,8 @@ define Device/bpi_bananapi-r2
DEVICE_MODEL := Banana Pi R2
DEVICE_DTS := mt7623n-bananapi-bpi-r2
SUPPORTED_DEVICES := bananapi,bpi-r2
+ DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
+ mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3
endef
TARGET_DEVICES += bpi_bananapi-r2
@@ -13,9 +15,9 @@ define Device/unielec_u7623-02-emmc-512m
DEVICE_MODEL := U7623-02
DEVICE_VARIANT := eMMC/512MB RAM
DEVICE_DTS := mt7623a-unielec-u7623-02-emmc-512m
- DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
- mkf2fs e2fsprogs
IMAGES := sysupgrade-emmc.bin.gz
IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata
+ DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \
+ mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3
endef
TARGET_DEVICES += unielec_u7623-02-emmc-512m
diff --git a/target/linux/mediatek/mt7623/target.mk b/target/linux/mediatek/mt7623/target.mk
index 9f995f9951..df7d3bf4ed 100644
--- a/target/linux/mediatek/mt7623/target.mk
+++ b/target/linux/mediatek/mt7623/target.mk
@@ -7,8 +7,8 @@ SUBTARGET:=mt7623
BOARDNAME:=MT7623
CPU_TYPE:=cortex-a7
CPU_SUBTYPE:=neon-vfpv4
-
KERNELNAME:=Image dtbs zImage
+FEATURES+=ext4 usb
define Target/Description
Build firmware images for MediaTek mt7623 ARM based boards.
More information about the lede-commits
mailing list