summaryrefslogtreecommitdiff
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
parent91c8b109db14d0e7a9cce3c4df460a6def8ec472 (diff)
downloadmtk-20170518-14a54ed18d3017763272dfa65e3f7fc32d39dc60.zip
mtk-20170518-14a54ed18d3017763272dfa65e3f7fc32d39dc60.tar.gz
mtk-20170518-14a54ed18d3017763272dfa65e3f7fc32d39dc60.tar.bz2
build: make device image kernels depend on Image/Prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45190
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 08b516d..8d20144 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 $$^ $$@