[PATCH] Makefile.lib: Build all DTS with -@ if OF_LIBFDT_OVERLAY is enabled

Simon Glass sjg at chromium.org
Tue Jul 28 20:58:37 CEST 2020


On Wed, 22 Jul 2020 at 06:58, Michal Simek <michal.simek at xilinx.com> wrote:
>
> The commit 47818e23a228 ("Makefile.lib: include /__symbols__ in dtb if
> SPL_LOAD_FIT_APPLY_OVERLAY is enabled") enables DT building as overlays
> based on symbols which depends on SPL. But there is already an option to
> apply overlays in full U-Boot too.
> And there are platforms which are not using SPL and there is no option to
> build DTs with -@ parameter.
> That's why change dependency on OF_LIBFDT_OVERLAY which is already symbol
> which is selected when SPL_LOAD_FIT_APPLY_OVERLAY is enabled but also
> adding support for platforms which don't enable SPL and want to work with
> overlays on U-Boot prompt.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  scripts/Makefile.lib | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the U-Boot mailing list