aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-03-09 16:21:42 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-11 19:20:39 +0100
commitaebe6ef30829229ab40866fa8b3df9460ab81e7a (patch)
tree13fbbf384f28af5fd902f8403070f65dd5355132 /target/linux/oxnas
parent90daff4cf8a86622012217d3be7ce136c313a896 (diff)
downloadupstream-aebe6ef30829229ab40866fa8b3df9460ab81e7a.tar.gz
upstream-aebe6ef30829229ab40866fa8b3df9460ab81e7a.tar.bz2
upstream-aebe6ef30829229ab40866fa8b3df9460ab81e7a.zip
oxnas: clean up DEVICE_VARS
DTS variable is not used in any device. Just drop it. UBIFS_OPTS is not device-dependent here. Remove it from DEVICE_VARS. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/oxnas')
-rw-r--r--target/linux/oxnas/image/ox810se.mk2
-rw-r--r--target/linux/oxnas/image/ox820.mk5
2 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/oxnas/image/ox810se.mk b/target/linux/oxnas/image/ox810se.mk
index 2cb61c5645..37f2ebffb0 100644
--- a/target/linux/oxnas/image/ox810se.mk
+++ b/target/linux/oxnas/image/ox810se.mk
@@ -5,7 +5,7 @@ define Device/Default
KERNEL_SUFFIX := -uImage
KERNEL_INSTALL := 1
FILESYSTEMS := squashfs ext4
- PROFILES = Default $$(DTS)
+ PROFILES := Default
IMAGES := sysupgrade.tar
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
endef
diff --git a/target/linux/oxnas/image/ox820.mk b/target/linux/oxnas/image/ox820.mk
index 0c0301b1ec..41ab3e230a 100644
--- a/target/linux/oxnas/image/ox820.mk
+++ b/target/linux/oxnas/image/ox820.mk
@@ -1,5 +1,4 @@
-UBIFS_OPTS = -m 2048 -e 126KiB -c 4096
-DEVICE_VARS += DTS UBIFS_OPTS
+UBIFS_OPTS := -m 2048 -e 126KiB -c 4096
KERNEL_LOADADDR := 0x60008000
define Device/Default
@@ -10,7 +9,7 @@ define Device/Default
PAGESIZE := 2048
SUBPAGESIZE := 512
FILESYSTEMS := squashfs ubifs
- PROFILES = Default $$(DTS)
+ PROFILES := Default
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
DEVICE_DTS := ox820-$(subst _,-,$(1))
KERNEL := kernel-bin | append-dtb | uImage none