mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
1e55df2e41
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
cf7896117b
("oxnas: enable image metadata by setting SUPPORTED_DEVICES")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
22 lines
561 B
Makefile
22 lines
561 B
Makefile
KERNEL_LOADADDR := 0x48008000
|
|
|
|
define Device/Default
|
|
KERNEL_NAME := zImage
|
|
KERNEL_SUFFIX := -uImage
|
|
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_VENDOR := Western Digital
|
|
DEVICE_MODEL := My Book
|
|
DEVICE_VARIANT := World Edition
|
|
KERNEL := kernel-bin | append-dtb | uImage none
|
|
endef
|
|
TARGET_DEVICES += wd_mbwe
|