diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-18 14:22:54 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-07-25 21:04:11 +0200 |
commit | 1e55df2e412f0b3f26ec49ed1d0580e84f1cc709 (patch) | |
tree | 49c902e19a0bd8e6f7c82dca8b1cb6d8d323972b /target/linux/oxnas | |
parent | 98b60b3efafbb4de6b2cbabfeb2c6290db57aa05 (diff) | |
download | upstream-1e55df2e412f0b3f26ec49ed1d0580e84f1cc709.tar.gz upstream-1e55df2e412f0b3f26ec49ed1d0580e84f1cc709.tar.bz2 upstream-1e55df2e412f0b3f26ec49ed1d0580e84f1cc709.zip |
oxnas: use vendor_model scheme for ox810se
Most newer targets have been converted to consistently use
vendor_model scheme for device definitions/image names, ox820 is
using it as well, so let's just convert ox810se for consistency.
While at it, use generic setup for DEVICE_DTS and add SUPPORTED_DEVICES.
The latter have been introduced for ox820 already in
cf7896117b3e ("oxnas: enable image metadata by setting SUPPORTED_DEVICES")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/oxnas')
-rw-r--r-- | target/linux/oxnas/image/ox810se.mk | 7 |
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 |