aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt7621.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-11-28 00:31:10 +0100
committerMathias Kresin <dev@kresin.me>2018-11-28 00:50:35 +0100
commit509d02a3d185e5fb240496471455f8999f8bd767 (patch)
tree27dc393b9ba18b79a736d4ce5886202cfb32b7d7 /target/linux/ramips/image/mt7621.mk
parenta160f50d4f240019fafe95e80701ebb871c788fe (diff)
downloadupstream-509d02a3d185e5fb240496471455f8999f8bd767.tar.gz
upstream-509d02a3d185e5fb240496471455f8999f8bd767.tar.bz2
upstream-509d02a3d185e5fb240496471455f8999f8bd767.zip
ramips: use generic board detection for Unielec u7621-06
Use the generic board detection for the board instead of the target specific one. Mark the sysupgrade image compatible with the former used userspace boardname to allow an upgrade from earlier versions. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r--target/linux/ramips/image/mt7621.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index e0c2f55ad1..e6059e6977 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -366,14 +366,6 @@ define Device/timecloud
endef
TARGET_DEVICES += timecloud
-define Device/u7621-06-256M-16M
- DTS := U7621-06-256M-16M
- IMAGE_SIZE := 16064k
- DEVICE_TITLE := UniElec U7621-06 (256M RAM/16M flash)
- DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
-endef
-TARGET_DEVICES += u7621-06-256M-16M
-
define Device/ubnt-erx
DTS := UBNT-ERX
FILESYSTEMS := squashfs
@@ -394,6 +386,15 @@ define Device/ubnt-erx-sfp
endef
TARGET_DEVICES += ubnt-erx-sfp
+define Device/unielec_u7621-06-256m-16m
+ DTS := U7621-06-256M-16M
+ IMAGE_SIZE := 16064k
+ DEVICE_TITLE := UniElec U7621-06 (256M RAM/16M flash)
+ DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3
+ SUPPORTED_DEVICES += u7621-06-256M-16M
+endef
+TARGET_DEVICES += unielec_u7621-06-256m-16m
+
define Device/vr500
DTS := VR500
IMAGE_SIZE := 66453504