build: make image target wait for initramfs
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 1 May 2017 15:40:16 +0000 (17:40 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 14 Mar 2018 18:04:51 +0000 (19:04 +0100)
commit43be5087a915727e7dcb3459e2221f094c70811b
treeb67342709537fbdde369899aa858748454aec240
parente713b5ba6f28617e1db06fdaec6464d1ad7be4b4
build: make image target wait for initramfs

The image production rules does not have the initramfs-image
as a dependency. So, from make’s perspective initramfs
creation can run independently/in parallel with the image
generation code in the target's Makefile.

This is a problem for devices that have to use the initramfs
for the image creation and can lead to broken images.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/image.mk