aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/oxnas/image/ox810se.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/oxnas/image/ox810se.mk b/target/linux/oxnas/image/ox810se.mk
index 37f2ebffb0..b9bb5e7117 100644
--- a/target/linux/oxnas/image/ox810se.mk
+++ b/target/linux/oxnas/image/ox810se.mk
@@ -6,15 +6,16 @@ define Device/Default
KERNEL_INSTALL := 1
FILESYSTEMS := squashfs ext4
PROFILES := Default
+ SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
+ DEVICE_DTS := ox810se-$(subst _,-,$(1))
IMAGES := sysupgrade.tar
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
endef
-define Device/wd-mbwe
- DEVICE_DTS := ox810se-wd-mbwe
+define Device/wd_mbwe
DEVICE_VENDOR := Western Digital
DEVICE_MODEL := My Book
DEVICE_VARIANT := World Edition
KERNEL := kernel-bin | append-dtb | uImage none
endef
-TARGET_DEVICES += wd-mbwe
+TARGET_DEVICES += wd_mbwe