build: make device image kernels depend on Image/Prepare step

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45190
This commit is contained in:
Felix Fietkau 2015-03-31 16:52:03 +00:00
parent 91c8b109db
commit 14a54ed18d

View File

@ -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 $$^ $$@