Tutorial:How to use custom cross-compiler

Hi. I think that there is a case that we want to use original compiler but also the custom compiler.
Please add following code to BoardConfig.mk.
In this case, version of 5.1.0 can use.

Code:
# Cross Compiler (Please refer TARGET_linux-arm.mk and TARGET_arm.mk ) TARGET_GCC_VERSION_EXP := 5.1.0 KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/arm-eabi-$(TARGET_GCC_VERSION_EXP)/bin TARGET_KERNEL_CROSS_COMPILE_PREFIX := arm-eabi-

Thank you.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by kaitlyn.kohler
3 hours ago
Last post by wilfred.ortiz
19 minutes ago
Last post by joyce49
21 minutes ago
Last post by kglover
3 hours ago
Last post by morissette.ally
4 hours ago
Last post by considine.reagan
3 hours ago
Last post by hauck.hank
2 hours ago
Last post by osborne96
2 hours ago
Last post by krath
44 minutes ago
Last post by leannon.nia
10 minutes ago
Last post by hobart.kautzer
1 hour ago
Last post by haley.monserrat
3 hours ago
Last post by kaley58
2 hours ago