aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-06 18:39:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-06 18:39:06 +0000
commit2499a57d92409e767386d0d36684952c20735656 (patch)
tree7aa0faeea81f36c472f0473955718da5bc6a241d /target/linux/ramips/image
parent4ab26a52ef687a42a318d52440e27d0f5a8d6769 (diff)
downloadupstream-2499a57d92409e767386d0d36684952c20735656.tar.gz
upstream-2499a57d92409e767386d0d36684952c20735656.tar.bz2
upstream-2499a57d92409e767386d0d36684952c20735656.zip
targets: add kernel image dependencies on device tree files
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index e4cbdb6e4f..05d979573a 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -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)