Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cee5051d authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Alistair Strachan
Browse files

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.

Change-Id: I175ee4b33832afd1369d48dbd131fc5c39c2f71a
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 6b12b774
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,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))