Makefile: restore ARCH/CrossCompile to its defaults

Change-Id: Ia4151e0c71aa8987d91bb53a72cd223c66e5d7dd
(cherry picked from commit e1b4cc90da)
This commit is contained in:
Mauro Ribeiro
2014-12-17 22:57:56 -02:00
committed by Dongjin Kim
parent dae65c53d8
commit ccdf16dec0

View File

@@ -192,8 +192,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
# "make" in the configured kernel build directory always uses that.
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
ARCH ?= arm
CROSS_COMPILE ?= arm-linux-gnueabihf-
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
# Architecture as present in compile.h
UTS_MACHINE := $(ARCH)