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
commitc05f9b9c23605c74100a5be9ec355d78873e23ea (patch)
tree5470447966614d9f8389b3d6af2df7a7133e7917
parent4acc2a3947a40a3134f1faf81ef837fb53a2ab57 (diff)
downloadupstream-c05f9b9c23605c74100a5be9ec355d78873e23ea.tar.gz
upstream-c05f9b9c23605c74100a5be9ec355d78873e23ea.tar.bz2
upstream-c05f9b9c23605c74100a5be9ec355d78873e23ea.zip
build: make initramfs kernel builds depend on the image prepare step
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45671
-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 $$^ $$@