[PATCH 2/9] clang: Add $(CLANG_TARGET) to LDPPFLAGS

Simon Glass sjg at chromium.org
Fri Apr 7 07:31:21 CEST 2023


On Thu, 6 Apr 2023 at 11:49, Tom Rini <trini at konsulko.com> wrote:
>
> When we invoke $(CPP) to make u-boot.lds we have LDPPFLAGS available to
> set other required flags here. As this file is for the target and not
> the host, we must ensure that CPP knows what the target architecture is.
> For this, pass in $(CLANG_TARGET).
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)

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


More information about the U-Boot mailing list