diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-08-07 23:51:46 +0200 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2024-08-12 22:22:14 +0200 |
commit | ae574ae37059da67b90916f14b482bbce0c0ab01 (patch) | |
tree | 28e9c939dd6cc120e4113368262b66871ec783f7 /drivers/fpga/tests/fpga-region-test.c | |
parent | 1a1200b66fd52dca33255270a09a093592c3b877 (diff) |
selftests/nolibc: add support for LLVM= parameter
Makefile.include can modify CC and CFLAGS for usage with clang.
Make use of it.
Makefile.include is currently used to handle the O= variable.
This is incompatible with the LLVM= handling as for O= it has to be
included as early as possible, while for LLVM= it needs to be included
after CFLAGS are set up.
To avoid this incompatibility, switch the O= handling to custom logic.
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20240807-nolibc-llvm-v2-10-c20f2f5fc7c2@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions