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

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

SVN-Revision: 45671
master
Felix Fietkau 10 years ago
parent 4acc2a3947
commit c05f9b9c23
  1. 1
      include/image.mk

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

Loading…
Cancel
Save