Commits
faqiang.zhu committed 22b3ec1e9ea
MA-14430 build linux kernel with clang for aarch64 architecture when invoke make to build the kernel, provide "CC=clang" as makefile variable then clang will be used to compile the kernel. "CLANG_TRIPLE" is used to select the target architecture. binutils are still needed in assemble and link stage, "CROSS_COMPILE" should be kept here. while in configuration stage, there is no need to specify "CROSS_COMPILE". Three compilation options are added to eliminate GPU and qca wifi driver compilation errors. change value assignment method of KERNEL_CFLAGS and KERNEL_AFLAGS in dtbo.mk, otherwise AndroidBoard.mk, kernel.mk are firstly included, then dtbo.mk, the value assigned to KERNEL_CFLAGS and KERNEL_AFLAGS will be cleared in dtbo.mk. Change-Id: I25c14bcbc43fff1fba043ee9711a595041000779 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/9457 Reviewed-by: guoyin.chen <guoyin.chen@nxp.com> Reviewed-by: Jindong Yue <jindong.yue@nxp.com>