• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

build


Commit MetaInfo

Revisionde2b183d849754b23e3efa17562e6fc55d78543b (tree)
Time2017-03-07 21:27:43
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

kernel.mk: fix the linking error of kernel 4.9

Use ld.bfd instead of ld.gold from the -androidkernel- toolchain.

Change Summary

Incremental Difference

--- a/core/tasks/kernel.mk
+++ b/core/tasks/kernel.mk
@@ -25,7 +25,7 @@ TARGET_KERNEL_CONFIG ?= goldfish_defconfig
2525 KERNEL_CONFIG_DIR := arch/arm/configs
2626 endif
2727
28-CROSS_COMPILE ?= $(abspath $(TARGET_TOOLS_PREFIX))
28+CROSS_COMPILE ?= $(abspath $(TARGET_TOOLCHAIN_ROOT)/bin)/x86_64-linux-androidkernel-
2929 KBUILD_OUTPUT := $(abspath $(TARGET_OUT_INTERMEDIATES)/kernel)
3030 mk_kernel := + $(hide) $(MAKE) -C $(KERNEL_DIR) O=$(KBUILD_OUTPUT) ARCH=$(TARGET_ARCH) CROSS_COMPILE=$(CROSS_COMPILE) $(if $(SHOW_COMMANDS),V=1)
3131