Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

kernel: Commit

kernel


Commit MetaInfo

Revisionc484ab103fe93254f4a6af7f63275febe607d88b (tree)
Time2018-12-07 15:25:32
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

android: use ld.bfd instead of ld.gold

We build the kernel with android toolchain. But kernel needs
ld.bfd to be linked correctly.

Change Summary

Incremental Difference

--- a/Makefile
+++ b/Makefile
@@ -345,7 +345,7 @@ include scripts/Kbuild.include
345345
346346 # Make variables (CC, etc...)
347347 AS = $(CROSS_COMPILE)as
348-LD = $(CROSS_COMPILE)ld
348+LD = $(CROSS_COMPILE)ld$(if $(wildcard $(lastword $(CROSS_COMPILE))ld.bfd),.bfd)
349349 CC = $(CROSS_COMPILE)gcc
350350 CPP = $(CC) -E
351351 AR = $(CROSS_COMPILE)ar
Show on old repository browser