diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-17 13:53:11 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-17 21:14:24 +0200 |
commit | 98f49d28233f68aeb9dfccc6d7e633ae35449e00 (patch) | |
tree | fac833f6adb8c5c77cfaa1d63535a8380f37529d /toolchain.inc | |
parent | c2a0b7d990ff162504bbd1aef27c049ea885a38b (diff) |
build: CPPFLAGS is more common than INCLUDES
Rename INCLUDES to CPPFLAGS since the latter is more
commonly used for preprocessor options.
Change-Id: I522bb01c44856d0eccf221fa43d2d644bdf01d69
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/5764
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'toolchain.inc')
-rw-r--r-- | toolchain.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain.inc b/toolchain.inc index 576e7447ca..ea67ad4c31 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -38,7 +38,7 @@ CFLAGS_armv7 = \ toolchain_to_dir = \ $(foreach arch,$(ARCH_SUPPORTED),\ - $(eval INCLUDES_$(ARCH_TO_TOOLCHAIN_$(arch)) = \ + $(eval CPPFLAGS_$(ARCH_TO_TOOLCHAIN_$(arch)) = \ -Isrc/arch/$(ARCHDIR-$(ARCH_TO_TOOLCHAIN_$(arch)))/include)) # set_stage_toolchain: Decides the toolchain to be used by every stage @@ -64,8 +64,8 @@ OBJCOPY_$(1) := $(OBJCOPY_$(2)) OBJDUMP_$(1) := $(OBJDUMP_$(2)) STRIP_$(1) := $(STRIP_$(2)) READELF_$(1) := $(READELF_$(2)) -INCLUDES_$(1) = -Isrc/arch/$(ARCHDIR-$(2))/include -CFLAGS_$(1) = $$(CFLAGS_common) $$(INCLUDES_$(1)) $(CFLAGS_$(2)) +CPPFLAGS_$(1) = -Isrc/arch/$(ARCHDIR-$(2))/include +CFLAGS_$(1) = $$(CFLAGS_common) $$(CPPFLAGS_$(1)) $(CFLAGS_$(2)) LIBGCC_FILE_NAME_$(1) = $(shell [ -r `$(CC_$(2)) -print-libgcc-file-name` ] && \ $(CC_$(2)) -print-libgcc-file-name) endef |