aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-31 16:52:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-31 16:52:03 +0000
commit14a54ed18d3017763272dfa65e3f7fc32d39dc60 (patch)
treeb354d68121b3e0b8fd9977039268ac404300f884 /include
parent91c8b109db14d0e7a9cce3c4df460a6def8ec472 (diff)
downloadupstream-14a54ed18d3017763272dfa65e3f7fc32d39dc60.tar.gz
upstream-14a54ed18d3017763272dfa65e3f7fc32d39dc60.tar.bz2
upstream-14a54ed18d3017763272dfa65e3f7fc32d39dc60.zip
build: make device image kernels depend on Image/Prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45190
Diffstat (limited to 'include')
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 08b516d854..8d201447fc 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -378,6 +378,7 @@ define Device/Build/check_size
endef
define Device/Build/kernel
+ $(KDIR)/$$(KERNEL_NAME): image_prepare
$$(_TARGET): $$(if $$(KERNEL_INSTALL),$(BIN_DIR)/$$(KERNEL_IMAGE))
$(BIN_DIR)/$$(KERNEL_IMAGE): $(KDIR)/$$(KERNEL_IMAGE)
cp $$^ $$@