mirror of https://github.com/hak5/openwrt.git
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>master
parent
90daff4cf8
commit
aebe6ef308
|
@ -5,7 +5,7 @@ define Device/Default
|
||||||
KERNEL_SUFFIX := -uImage
|
KERNEL_SUFFIX := -uImage
|
||||||
KERNEL_INSTALL := 1
|
KERNEL_INSTALL := 1
|
||||||
FILESYSTEMS := squashfs ext4
|
FILESYSTEMS := squashfs ext4
|
||||||
PROFILES = Default $$(DTS)
|
PROFILES := Default
|
||||||
IMAGES := sysupgrade.tar
|
IMAGES := sysupgrade.tar
|
||||||
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
|
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
UBIFS_OPTS = -m 2048 -e 126KiB -c 4096
|
UBIFS_OPTS := -m 2048 -e 126KiB -c 4096
|
||||||
DEVICE_VARS += DTS UBIFS_OPTS
|
|
||||||
KERNEL_LOADADDR := 0x60008000
|
KERNEL_LOADADDR := 0x60008000
|
||||||
|
|
||||||
define Device/Default
|
define Device/Default
|
||||||
|
@ -10,7 +9,7 @@ define Device/Default
|
||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
SUBPAGESIZE := 512
|
SUBPAGESIZE := 512
|
||||||
FILESYSTEMS := squashfs ubifs
|
FILESYSTEMS := squashfs ubifs
|
||||||
PROFILES = Default $$(DTS)
|
PROFILES := Default
|
||||||
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
|
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
|
||||||
DEVICE_DTS := ox820-$(subst _,-,$(1))
|
DEVICE_DTS := ox820-$(subst _,-,$(1))
|
||||||
KERNEL := kernel-bin | append-dtb | uImage none
|
KERNEL := kernel-bin | append-dtb | uImage none
|
||||||
|
|
Loading…
Reference in New Issue