aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-30 11:21:08 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-03 15:41:09 +0200
commit04373e20cbdd4193c86109af354dfc70ccd9e0a9 (patch)
treebe7cd9f02a5439c5487a68c2ed6e7e5d53dc4d0c /target/linux
parent057e5f6edee34e6bbd49dfe6f9944a3ba1936719 (diff)
downloadupstream-04373e20cbdd4193c86109af354dfc70ccd9e0a9.tar.gz
upstream-04373e20cbdd4193c86109af354dfc70ccd9e0a9.tar.bz2
upstream-04373e20cbdd4193c86109af354dfc70ccd9e0a9.zip
apm821xx: set DEVICE_TYPE to "nas" for sata subtarget
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 <chunkeey@gmail.com> Cc: Christian Lamparter <chunkeey@gmail.com> Cc: Sungbo Eo <mans0n@gorani.run> Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/apm821xx/sata/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/apm821xx/sata/target.mk b/target/linux/apm821xx/sata/target.mk
index d3af6ef821..43b1aa0324 100644
--- a/target/linux/apm821xx/sata/target.mk
+++ b/target/linux/apm821xx/sata/target.mk
@@ -1,4 +1,5 @@
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