X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blobdiff_plain;f=Makefile;h=bafc3d9b22d3bdc944b8b160808bd6cc2a852d0c;hp=015695919fc01858a58f6291ec32f25be0ad2604;hb=b5321a15afce10a7ec0862da761a5627971531d7;hpb=7b2f394bb8ae3881aed47728d8d74a9e094badd8 diff --git a/Makefile b/Makefile index 015695919fc0..bafc3d9b22d3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 41 +SUBLEVEL = 55 EXTRAVERSION = NAME = Blurry Fish Butt @@ -259,6 +259,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 CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) # Architecture as present in compile.h