]> git.baikalelectronics.ru Git - uboot.git/commit
clang: Add $(CLANG_TARGET) to LDPPFLAGS
authorTom Rini <trini@konsulko.com>
Wed, 5 Apr 2023 23:48:52 +0000 (19:48 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:27 +0000 (15:31 -0400)
commitd58ede0f69cf110ea60c6a5a2cc8929a895d8101
tree11d89c1a3d5b18406167d63427624035f1a971e7
parent1106b288cc8aa3ae272bc73bf8d545245ae35d8f
clang: Add $(CLANG_TARGET) to LDPPFLAGS

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@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile