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
commit795a8780e002e1993178d183d884b4ecd2a5363d (patch)
tree03054d81d3d5018e0ce063dffedc37f0a0665296 /target/linux/ramips/image
parenteb5b5acffb4870d0cb25536e1a44bd9143732992 (diff)
downloadmaster-187ad058-795a8780e002e1993178d183d884b4ecd2a5363d.tar.gz
master-187ad058-795a8780e002e1993178d183d884b4ecd2a5363d.tar.bz2
master-187ad058-795a8780e002e1993178d183d884b4ecd2a5363d.zip
targets: add kernel image dependencies on device tree files
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48146 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)