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

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

SVN-Revision: 45190
owl
Felix Fietkau 2015-03-31 16:52:03 +00:00
parent 91c8b109db
commit 14a54ed18d
1 changed files with 1 additions and 0 deletions

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