mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
ANDROID: kbuild: add CONFIG_LD_IS_LLD
Similarly to the CC_IS_CLANG config, add LD_IS_LLD to simplify feature selection based on the linker. Bug: 145210207 Change-Id: I097c52899dcf9829eb0e1ea89211b17972301c1a Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
parent
e75fce5307
commit
79ae4ab8e6
|
|
@ -20,6 +20,9 @@ config GCC_VERSION
|
|||
config CC_IS_CLANG
|
||||
def_bool $(success,$(CC) --version | head -n 1 | grep -q clang)
|
||||
|
||||
config LD_IS_LLD
|
||||
def_bool $(success,$(LD) -v | head -n 1 | grep -q LLD)
|
||||
|
||||
config CLANG_VERSION
|
||||
int
|
||||
default $(shell,$(srctree)/scripts/clang-version.sh $(CC))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user