aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain.inc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-05-17 15:08:47 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-17 21:14:52 +0200
commitb145b8301fe973f588bcd637bb5eb070b1f472d3 (patch)
treeb87f2f604bdd64799b3080df332db908348267ec /toolchain.inc
parent6bc44554b9df58465f6702828c4f663ab0e4d9ac (diff)
downloadcoreboot-b145b8301fe973f588bcd637bb5eb070b1f472d3.tar.gz
coreboot-b145b8301fe973f588bcd637bb5eb070b1f472d3.tar.xz
coreboot-b145b8301fe973f588bcd637bb5eb070b1f472d3.zip
build: break compiler flags out of $(CC)
Having more than the executable in $(CC) only leads to trouble in a number of situations. Change-Id: I7642ca4068b3a3bd5798219d74de9e0eb85bb4e5 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5769 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain.inc b/toolchain.inc
index b615bce7a..568b3d639 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -25,7 +25,7 @@ ARCHDIR-i386 := x86
ARCHDIR-x86_32 := x86
ARCHDIR-armv7 := armv7
-CFLAGS_armv7 = \
+CFLAGS_armv7 += \
-ffixed-r8\
-march=armv7-a\
-marm\
@@ -35,7 +35,7 @@ CFLAGS_armv7 = \
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\
- $(eval CPPFLAGS_$(arch) = \
+ $(eval CPPFLAGS_$(arch) += \
-Isrc/arch/$(ARCHDIR-$(arch))/include))
# set_stage_toolchain: Decides the toolchain to be used by every stage