OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
422d3c4
)
kernel.mk: fix the linking error of kernel 4.9
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Tue, 7 Mar 2017 12:18:37 +0000
(20:18 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 4 May 2017 06:31:53 +0000
(14:31 +0800)
Use ld.bfd instead of ld.gold from the -androidkernel- toolchain.
core/tasks/kernel.mk
patch
|
blob
|
history
diff --git
a/core/tasks/kernel.mk
b/core/tasks/kernel.mk
index
76c71aa
..
b5be66a
100644
(file)
--- a/
core/tasks/kernel.mk
+++ b/
core/tasks/kernel.mk
@@
-25,7
+25,7
@@
TARGET_KERNEL_CONFIG ?= goldfish_defconfig
KERNEL_CONFIG_DIR := arch/arm/configs
endif
-CROSS_COMPILE ?= $(abspath $(TARGET_TOOL
S_PREFIX))
+CROSS_COMPILE ?= $(abspath $(TARGET_TOOL
CHAIN_ROOT)/bin)/x86_64-linux-androidkernel-
KBUILD_OUTPUT := $(abspath $(TARGET_OUT_INTERMEDIATES)/kernel)
mk_kernel := $(hide) $(MAKE) -C $(KERNEL_DIR) O=$(KBUILD_OUTPUT) ARCH=$(TARGET_ARCH) CROSS_COMPILE=$(CROSS_COMPILE) $(if $(SHOW_COMMANDS),V=1)