targets: add kernel image dependencies on device tree files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48146
This commit is contained in:
Felix Fietkau
2016-01-06 18:39:06 +00:00
parent 4ab26a52ef
commit 2499a57d92
6 changed files with 6 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ KERNEL_LOADADDR := $(loadaddr-y)
KERNEL_DTB = kernel-bin | patch-dtb | lzma
define Device/Default
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DTS).dts)
KERNEL := $(KERNEL_DTB) | uImage lzma
IMAGES := sysupgrade.bin
IMAGE_SIZE := $(ralink_default_fw_size_8M)