build: allow calling append-dtb from image build commands
authorFelix Fietkau <nbd@nbd.name>
Thu, 2 Nov 2017 12:28:26 +0000 (13:28 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 2 Nov 2017 15:01:18 +0000 (16:01 +0100)
commit986d9deb3b24bc72e9e7ecf93affbc3f188bb926
treead0e4378ce1116b3089445ff79ea5fa7a4f16ff8
parent7e2c271a8053df940d554cc5e17066033da4fc82
build: allow calling append-dtb from image build commands

mpc85xx uses this for firmware image files, since the dtb data is not
directly part of the kernel image. This causes build failures in the
image builder.

Fix this by adding a separate build step that runs this call earlier,
reusing the generated file for any calls from kernel or image build
commands.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/image-commands.mk
include/image.mk