aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/image/Makefile
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/kirkwood/image/Makefile
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/kirkwood/image/Makefile')
-rw-r--r--target/linux/kirkwood/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index 3fc84aa756..24cb31702d 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -15,6 +15,7 @@ KERNEL_LOADADDR:=0x8000
TARGET_DEVICES = linksys-audi linksys-viper
define Device/Default
+ KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
KERNEL := kernel-bin | append-dtb | uImage none
KERNEL_NAME := zImage
endef