[PATCH v3 1/9] Makefile: Only define u-boot.itb rule when applicable

Simon Glass sjg at chromium.org
Sun Sep 6 15:58:31 CEST 2020


On Sat, 5 Sep 2020 at 21:26, Samuel Holland <samuel at sholland.org> wrote:
>
> If neither CONFIG_SPL_FIT_SOURCE nor CONFIG_USE_SPL_FIT_GENERATOR is
> enabled, U_BOOT_ITS will be undefined, and attempting to make u-boot.itb
> will pass invalid arguments to mkimage, causing it to print its help
> message.
>
> Remove the rule in that case, so it is more obvious that u-boot.itb is
> not something that can be made. This will reduce confusion as platforms
> move away from CONFIG_USE_SPL_FIT_GENERATOR, as u-boot.itb was
> previously a valid goal for those platforms.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
>  Makefile | 2 ++
>  1 file changed, 2 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list