From 20ca52a9eec2d6f805d077f541ae22bd07732a3f Mon Sep 17 00:00:00 2001 From: li feng Date: Thu, 10 Nov 2016 16:03:45 -0800 Subject: ISH: set toolchain in core/minute-ia When "make buildall" has board which uses core/minute-ia, CROSS_COMPILE?=i686-pc-linux-gnu- doesn't get set unless CROSS_COMPILE is not defined; however, it's defined before this line, and wrong toolchain is used. Remove "?" to set correct CROSS_COMPILE. BUG=none BRANCH=none TEST='make buildall -j' passed Change-Id: Ied4a9f93a4d44714c012d3a3e50e4a34f41a7c1f Signed-off-by: li feng Reviewed-on: https://chromium-review.googlesource.com/410402 Commit-Ready: Li1 Feng Tested-by: Li1 Feng Reviewed-by: Aaron Durbin --- core/minute-ia/build.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/minute-ia/build.mk') diff --git a/core/minute-ia/build.mk b/core/minute-ia/build.mk index 5bf343a43c..c58f5fff4e 100644 --- a/core/minute-ia/build.mk +++ b/core/minute-ia/build.mk @@ -1,5 +1,5 @@ # -*- makefile -*- -# Copyright (c) 2016 The Chromium OS Authors. All rights reserved. +# Copyright 2016 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # @@ -7,7 +7,7 @@ # # Select Minute-IA bare-metal toolchain -CROSS_COMPILE?=i686-pc-linux-gnu- +CROSS_COMPILE=i686-pc-linux-gnu- # FPU compilation flags CFLAGS_FPU-$(CONFIG_FPU)= @@ -15,7 +15,7 @@ CFLAGS_FPU-$(CONFIG_FPU)= # CPU specific compilation flags CFLAGS_CPU+=-fno-omit-frame-pointer -mno-accumulate-outgoing-args \ -ffunction-sections -fdata-sections \ - -fno-builtin-printf -fno-builtin-sprintf \ + -fno-builtin-printf -fno-builtin-sprintf \ -fno-stack-protector -gdwarf-2 -fno-common -ffreestanding \ -minline-all-stringops -fno-strict-aliasing -- cgit v1.2.1