Merge "Makefile: restore ARCH/CrossCompile to its defaults" into odroidc-3.10.y-android

This commit is contained in:
Dongjin Kim
2015-01-05 12:10:12 +09:00
committed by Gerrit Code Review

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)