aboutsummaryrefslogtreecommitdiffstats
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
commite72d796d886135c6d5827e18e3b4446f42a6a022 (patch)
tree8932f04e1fd38187f6140d0262974c6a5b0a3c04
parentcd98521d0a537e1759606172289b2f7dab8fd368 (diff)
downloadmaster-187ad058-e72d796d886135c6d5827e18e3b4446f42a6a022.tar.gz
master-187ad058-e72d796d886135c6d5827e18e3b4446f42a6a022.tar.bz2
master-187ad058-e72d796d886135c6d5827e18e3b4446f42a6a022.zip
build: make device image kernels depend on Image/Prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45190 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 $$^ $$@