Since DEVICE_TYPE cannot be set per device, just set DEVICE_TYPE
to "nas" for the entire subtarget, which only contains this single
device.
Note that while this looks like a cosmetic change in combination
with the previous patches, this particular patch actually changes
the packages for the device.
Suggested-by: Christian Lamparter <[email protected]>
Cc: Christian Lamparter <[email protected]>
Cc: Sungbo Eo <[email protected]>
Cc: Linus Walleij <[email protected]>
Signed-off-by: Adrian Schmutzler <[email protected]>
BOARDNAME := Devices which boot from SATA (NAS)
+DEVICE_TYPE := nas
FEATURES += ext4 usb ramdisk squashfs rootfs-part boot-part
DEFAULT_PACKAGES += badblocks block-mount e2fsprogs kmod-hwmon-drivetemp \
kmod-dm kmod-md-mod partx-utils mkf2fs f2fsck