From: 陈辉 Date: Thu, 15 Nov 2012 15:49:19 +0000 (+0800) Subject: to support 4.2_r1 X-Git-Tag: firefly_0821_release~8213 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5ac33d7c5c0f48d2cd21a3cdc469910146222d59;p=firefly-linux-kernel-4.4.55.git to support 4.2_r1 --- diff --git a/Makefile b/Makefile index d2b9cb2841b8..b22d80e944c8 100644 --- a/Makefile +++ b/Makefile @@ -200,6 +200,9 @@ endif ifneq ($(wildcard ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3),) CROSS_COMPILE ?= ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- endif +ifneq ($(wildcard ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6),) +CROSS_COMPILE ?= ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- +endif CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) # Architecture as present in compile.h