mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
rk: Makefile set default CROSS_COMPILE for arm
Change-Id: I44a0dfe1a1f3bbad6f6c21001d2e4d668ff0db8a Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
5
Makefile
5
Makefile
@@ -325,6 +325,11 @@ ifneq ($(wildcard $(srctree)/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-an
|
||||
CROSS_COMPILE ?= $(srctree)/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ARCH),arm)
|
||||
ifneq ($(wildcard $(srctree)/../prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9),)
|
||||
CROSS_COMPILE ?= $(srctree)/../prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-
|
||||
endif
|
||||
endif
|
||||
|
||||
# Architecture as present in compile.h
|
||||
UTS_MACHINE := $(ARCH)
|
||||
|
||||
Reference in New Issue
Block a user