From: nbd Date: Mon, 11 May 2015 09:07:58 +0000 (+0000) Subject: build: make initramfs kernel builds depend on the image prepare step X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=26897dad8c72b869a91f0058833e926d8a140291 build: make initramfs kernel builds depend on the image prepare step Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45671 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 $$^ $$@