aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-11 09:07:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-11 09:07:58 +0000
commit56123e0b753865f51935854ba44d315373769a0b (patch)
tree2320d5a50d9024dbd197748080bd8c36775ef2cd
parent9c26eee61fdda0e961e9715fcec140e5a4cce889 (diff)
downloadmaster-187ad058-56123e0b753865f51935854ba44d315373769a0b.tar.gz
master-187ad058-56123e0b753865f51935854ba44d315373769a0b.tar.bz2
master-187ad058-56123e0b753865f51935854ba44d315373769a0b.zip
build: make initramfs kernel builds depend on the image prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45671 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
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 $$^ $$@