diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-05-29 20:49:44 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-07 15:23:16 +0200 |
commit | 3559b46b626af792d8b9c41f4f2fdae5dd6c3720 (patch) | |
tree | 40c329c733d2610c098355211d13a3fa588b1d8c /target | |
parent | 25787e002b0bca5fab4a35cc9b9d99c81fcec95c (diff) | |
download | upstream-3559b46b626af792d8b9c41f4f2fdae5dd6c3720.tar.gz upstream-3559b46b626af792d8b9c41f4f2fdae5dd6c3720.tar.bz2 upstream-3559b46b626af792d8b9c41f4f2fdae5dd6c3720.zip |
mediatek: tidy up image subtarget Makefiles
- sort device recipes alphabetically
- adjust board name of ELECOM WRC-2533GENT
- harmonize line wrapping
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[rebased]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/mediatek/image/mt7622.mk | 28 | ||||
-rw-r--r-- | target/linux/mediatek/image/mt7623.mk | 19 |
2 files changed, 23 insertions, 24 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk index b570ce9d82..bb7d89a826 100644 --- a/target/linux/mediatek/image/mt7622.mk +++ b/target/linux/mediatek/image/mt7622.mk @@ -1,14 +1,5 @@ KERNEL_LOADADDR := 0x41080000 -define Device/mediatek_mt7622-rfb1 - DEVICE_VENDOR := MediaTek - DEVICE_MODEL := MTK7622 rfb1 AP - DEVICE_DTS := mt7622-rfb1 - DEVICE_DTS_DIR := $(DTS_DIR)/mediatek - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk -endef -TARGET_DEVICES += mediatek_mt7622-rfb1 - define Device/bpi_bananapi-r64 DEVICE_VENDOR := Bpi DEVICE_MODEL := Banana Pi R64 @@ -19,14 +10,21 @@ define Device/bpi_bananapi-r64 endef TARGET_DEVICES += bpi_bananapi-r64 -define Device/elecom-wrc-2533gent +define Device/elecom_wrc-2533gent DEVICE_VENDOR := Elecom DEVICE_MODEL := WRC-2533GENT DEVICE_DTS := mt7622-elecom-wrc-2533gent DEVICE_DTS_DIR := $(DTS_DIR)/mediatek - DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 \ - kmod-mt7615e kmod-mt7615-firmware \ - mt7622bt-firmware swconfig - SUPPORTED_DEVICES := elecom,wrc-2533gent + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-mt7615e \ + kmod-mt7615-firmware mt7622bt-firmware swconfig endef -TARGET_DEVICES += elecom-wrc-2533gent +TARGET_DEVICES += elecom_wrc-2533gent + +define Device/mediatek_mt7622-rfb1 + DEVICE_VENDOR := MediaTek + DEVICE_MODEL := MTK7622 rfb1 AP + DEVICE_DTS := mt7622-rfb1 + DEVICE_DTS_DIR := $(DTS_DIR)/mediatek + DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk +endef +TARGET_DEVICES += mediatek_mt7622-rfb1 diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk index a4a9fff2b7..4514719c1d 100644 --- a/target/linux/mediatek/image/mt7623.mk +++ b/target/linux/mediatek/image/mt7623.mk @@ -1,20 +1,21 @@ KERNEL_LOADADDR := 0x80008000 +define Device/bpi_bananapi-r2 + DEVICE_VENDOR := Bpi + DEVICE_MODEL := Banana Pi R2 + DEVICE_DTS := mt7623n-bananapi-bpi-r2 + SUPPORTED_DEVICES := bananapi,bpi-r2 +endef +TARGET_DEVICES += bpi_bananapi-r2 + define Device/unielec_u7623-02-emmc-512m DEVICE_VENDOR := UniElec DEVICE_MODEL := U7623-02 DEVICE_VARIANT := eMMC/512MB RAM DEVICE_DTS := mt7623a-unielec-u7623-02-emmc-512m - DEVICE_PACKAGES := mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc + 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 endef TARGET_DEVICES += unielec_u7623-02-emmc-512m - -define Device/bpi_bananapi-r2 - DEVICE_VENDOR := Bpi - DEVICE_MODEL := Banana Pi R2 - DEVICE_DTS := mt7623n-bananapi-bpi-r2 - SUPPORTED_DEVICES := bananapi,bpi-r2 -endef -TARGET_DEVICES += bpi_bananapi-r2 |