summaryrefslogtreecommitdiff
path: root/target/linux/arc770
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/arc770
parent4ab26a52ef687a42a318d52440e27d0f5a8d6769 (diff)
downloadmtk-20170518-2499a57d92409e767386d0d36684952c20735656.zip
mtk-20170518-2499a57d92409e767386d0d36684952c20735656.tar.gz
mtk-20170518-2499a57d92409e767386d0d36684952c20735656.tar.bz2
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/arc770')
-rw-r--r--target/linux/arc770/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/arc770/image/Makefile b/target/linux/arc770/image/Makefile
index c033102..6b9c5e4 100644
--- a/target/linux/arc770/image/Makefile
+++ b/target/linux/arc770/image/Makefile
@@ -15,6 +15,7 @@ endef
# Shared device definition: applies to every defined device
define Device/Default
PROFILES = Default $$(DEVICE_PROFILE)
+ KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
KERNEL_SUFFIX := .elf
KERNEL_INITRAMFS := kernel-bin | patch-dtb
KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs.elf