From: Felix Fietkau Date: Mon, 11 May 2015 09:07:58 +0000 (+0000) Subject: build: make initramfs kernel builds depend on the image prepare step X-Git-Tag: reboot~3073 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c05f9b9c23605c74100a5be9ec355d78873e23ea;p=openwrt%2Fstaging%2Fpepe2k.git build: make initramfs kernel builds depend on the image prepare step Signed-off-by: Felix Fietkau SVN-Revision: 45671 --- diff --git a/include/image.mk b/include/image.mk index 4161d60ded..1b7fd2404a 100644 --- a/include/image.mk +++ b/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 $$^ $$@