aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2020-06-15 09:47:09 +0100
committerPetr Štetiar <ynezz@true.cz>2020-07-08 23:22:30 +0200
commitc848bc6cd576baf1d538d97662e410289214f0b7 (patch)
treedce21731af7ae17eb4761244884cd4735b195614
parentdca867c5a368045efe38db0ed9bc393ba9a2c9f4 (diff)
downloadupstream-c848bc6cd576baf1d538d97662e410289214f0b7.tar.gz
upstream-c848bc6cd576baf1d538d97662e410289214f0b7.tar.bz2
upstream-c848bc6cd576baf1d538d97662e410289214f0b7.zip
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@infradead.org>
-rw-r--r--target/linux/mediatek/image/mt7623.mk6
-rw-r--r--target/linux/mediatek/mt7623/target.mk2
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.