kbuild: add CONFIG_LD_IS_LLD
Similarly to the CC_IS_CLANG config, add LD_IS_LLD to avoid GNU ld specific logic such as ld-version or ld-ifversion and gain the ability to select potential features that depend on the linker at configuration time such as LTO. Signed-off-by: NSami Tolvanen <samitolvanen@google.com> Acked-by: NMasahiro Yamada <masahiroy@kernel.org> [nc: Reword commit message] Signed-off-by: NNathan Chancellor <natechancellor@gmail.com> Tested-by: NSedat Dilek <sedat.dilek@gmail.com> Reviewed-by: NSedat Dilek <sedat.dilek@gmail.com> Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
Showing
想要评论请 注册 或 登录