image.mk: clean up redundant code related to DEVICE_DTS
It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -24,9 +24,8 @@ define Device/Default
|
||||
PROFILES = Default $$(DEVICE_PROFILE)
|
||||
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
|
||||
DEVICE_PROFILE :=
|
||||
DEVICE_DTS :=
|
||||
endef
|
||||
DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS
|
||||
DEVICE_VARS += DEVICE_PROFILE
|
||||
|
||||
define Device/vmlinux
|
||||
KERNEL_SUFFIX := .elf
|
||||
|
||||
Reference in New Issue
Block a user