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>
rt-n12p|\
sap-g3200u3|\
sk-wb8|\
rt-n12p|\
sap-g3200u3|\
sk-wb8|\
+ unielec,u7621-06-256m-16m|\
vr500|\
wavlink,wl-wn570ha1|\
wf-2881|\
vr500|\
wavlink,wl-wn570ha1|\
wf-2881|\
*"U25AWF-H1")
name="u25awf-h1"
;;
*"U25AWF-H1")
name="u25awf-h1"
;;
- *"U7621-06 (256M RAM/16M flash)")
- name="u7621-06-256M-16M"
- ;;
*"U7628-01 (128M RAM/16M flash)")
name="u7628-01-128M-16M"
;;
*"U7628-01 (128M RAM/16M flash)")
name="u7628-01-128M-16M"
;;
timecloud|\
tiny-ac|\
u25awf-h1|\
timecloud|\
tiny-ac|\
u25awf-h1|\
+ unielec,u7621-06-256m-16m|\
u7628-01-128M-16M|\
ur-326n4g|\
ur-336un|\
u7628-01-128M-16M|\
ur-326n4g|\
ur-336un|\
endef
TARGET_DEVICES += 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
define Device/ubnt-erx
DTS := UBNT-ERX
FILESYSTEMS := squashfs
endef
TARGET_DEVICES += 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
define Device/vr500
DTS := VR500
IMAGE_SIZE := 66453504