build: make initramfs kernel builds depend on the image prepare step

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

SVN-Revision: 45671
This commit is contained in:
Felix Fietkau 2015-05-11 09:07:58 +00:00
parent 4acc2a3947
commit c05f9b9c23

View file

@ -365,6 +365,7 @@ endef
define Device/Build/initramfs
$$(_TARGET): $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE)
$(KDIR)/$$(KERNEL_NAME)-initramfs: image_prepare
$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/$$(KERNEL_INITRAMFS_IMAGE)
cp $$^ $$@