Skip to content

Commit 73adbcd

Browse files
committed
Clean up makefile
Change-Id: I739c9f4994e9ede361448deef07f534b46fc1780
1 parent a02aa85 commit 73adbcd

2 files changed

Lines changed: 2 additions & 1579 deletions

File tree

Makefile

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
192192
# Default value for CROSS_COMPILE is not to prefix executables
193193
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
194194
export KBUILD_BUILDHOST := $(SUBARCH)
195-
ARCH ?= arm
196-
CROSS_COMPILE ?= /home/opensource.m/toolchains/arm-eabi-4.7/bin/arm-eabi-
195+
ARCH ?= $(SUBARCH)
196+
CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
197197

198198
# Architecture as present in compile.h
199199
UTS_MACHINE := $(ARCH)

0 commit comments

Comments
 (0)