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:
@@ -213,7 +213,7 @@ define Device/Default
|
||||
IMAGES := sysupgrade.bin
|
||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
||||
endef
|
||||
DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS DEVICE_DTS_DIR IMAGE_SIZE
|
||||
DEVICE_VARS += DEVICE_PROFILE IMAGE_SIZE
|
||||
|
||||
define Device/lantiqBrnImage
|
||||
KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
|
||||
|
||||
Reference in New Issue
Block a user