From aebe6ef30829229ab40866fa8b3df9460ab81e7a Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Mon, 9 Mar 2020 16:21:42 +0900 Subject: [PATCH] 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 --- target/linux/oxnas/image/ox810se.mk | 2 +- target/linux/oxnas/image/ox820.mk | 5 ++--- 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 -- 2.30.2