build: fix build for devices without initramfs
authorDavid Bauer <mail@david-bauer.net>
Tue, 8 Jun 2021 17:30:12 +0000 (19:30 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 8 Jun 2021 20:53:14 +0000 (22:53 +0200)
commitbb749e49a6e149f681a058b3d7e45fd8d4f79305
tree3fa961906daa0a93f0f37a46cbc0e220a05d054b
parent1aa80ce3931736f1020f69f486a815c2b2575d19
build: fix build for devices without initramfs

Don't attempt to copy initramfs images for devices which do not output
an initramfs image.

This was breaking builds for mpc85xx-p1010 since mid-march.

Signed-off-by: David Bauer <mail@david-bauer.net>
include/image.mk