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

2023-04-26 Thread Tom Rini
On Wed, Apr 05, 2023 at 07:48:52PM -0400, Tom Rini 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

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

2023-04-06 Thread Simon Glass
On Thu, 6 Apr 2023 at 11:49, Tom Rini 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

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

2023-04-05 Thread Tom Rini
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 --- Makefile | 1 + 1