[U-Boot] [PATCH 03/12] Makefile: build FIT image if CONFIG_SPL_FIT_GENERATOR defined

Simon Glass sjg at chromium.org
Sun Aug 13 21:36:38 UTC 2017


Hi,

On 9 August 2017 at 03:16, Peng Fan <peng.fan at nxp.com> wrote:
> Build FIT image if CONFIG_SPL_FIT_GENERATOR defined.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Andre Przywara <andre.przywara at arm.com>
> Cc: "Cooper Jr., Franklin" <fcooper at ti.com>
> Cc: "Álvaro Fernández Rojas" <noltari at gmail.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>  Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 50a002e..fbe7714 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -804,6 +804,10 @@ ALL-y += u-boot-tegra.bin u-boot-nodtb-tegra.bin
>  ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb-tegra.bin
>  endif
>
> +ifneq ($(CONFIG_SPL_FIT_GENERATOR),)
> +ALL-y += u-boot.itb
> +endif

I see .tbd but .fit is more common. Can we use .fit?

> +
>  # Add optional build target if defined in board/cpu/soc headers
>  ifneq ($(CONFIG_BUILD_TARGET),)
>  ALL-y += $(CONFIG_BUILD_TARGET:"%"=%)
> --
> 2.6.2
>

Regards,
Simon


More information about the U-Boot mailing list