From e3927436c64bcbdd17c5adaa24f86c584ecf1a68 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 18 May 2014 23:04:27 +0200 Subject: build: move include paths where they belong MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They're _not_ part of the compiler binary, so they have no place in $(CC_*) Change-Id: I1e1c3c0be6f75629450a824ea834e1614d48ed9b Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/5785 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Kyösti Mälkki --- src/vendorcode/amd/cimx/rd890/Makefile.inc | 6 ++---- src/vendorcode/amd/cimx/sb700/Makefile.inc | 6 +----- src/vendorcode/amd/cimx/sb800/Makefile.inc | 5 +---- src/vendorcode/amd/cimx/sb900/Makefile.inc | 5 +---- 4 files changed, 5 insertions(+), 17 deletions(-) (limited to 'src/vendorcode/amd/cimx') diff --git a/src/vendorcode/amd/cimx/rd890/Makefile.inc b/src/vendorcode/amd/cimx/rd890/Makefile.inc index 68f0c9494b..b64d7ca968 100644 --- a/src/vendorcode/amd/cimx/rd890/Makefile.inc +++ b/src/vendorcode/amd/cimx/rd890/Makefile.inc @@ -114,10 +114,8 @@ export CIMX_ROOT export NB_CIMX_INC export NB_CIMX_CFLAGS -CC_bootblock := $(CC_bootblock) $(NB_CIMX_CFLAGS) $(NB_CIMX_INC) -CC_romstage := $(CC_romstage) $(NB_CIMX_CFLAGS) $(NB_CIMX_INC) -CC_ramstage := $(CC_ramstage) $(NB_CIMX_CFLAGS) $(NB_CIMX_INC) -CC_x86_32 := $(CC_x86_32) $(NB_CIMX_CFLAGS) $(NB_CIMX_INC) +CPPFLAGS_x86_32 += $(NB_CIMX_INC) +CFLAGS_x86_32 += $(NB_CIMX_CFLAGS) ####################################################################### diff --git a/src/vendorcode/amd/cimx/sb700/Makefile.inc b/src/vendorcode/amd/cimx/sb700/Makefile.inc index f877176657..168ec403b8 100644 --- a/src/vendorcode/amd/cimx/sb700/Makefile.inc +++ b/src/vendorcode/amd/cimx/sb700/Makefile.inc @@ -68,14 +68,10 @@ ramstage-y += SMM.c ramstage-y += USB.c ramstage-y += LEGACY.c -SB_CIMX_CFLAGS = export CIMX_ROOT export SB_CIMX_INC export SB_CIMX_CFLAGS -CC_bootblock := $(CC_bootblock) $(SB_CIMX_INC) -CC_romstage := $(CC_romstage) $(SB_CIMX_INC) -CC_ramstage := $(CC_ramstage) $(SB_CIMX_INC) -CC_x86_32 := $(CC_x86_32) $(SB_CIMX_INC) +CPPFLAGS_x86_32 += $(SB_CIMX_INC) ####################################################################### diff --git a/src/vendorcode/amd/cimx/sb800/Makefile.inc b/src/vendorcode/amd/cimx/sb800/Makefile.inc index 4782b1373e..51bb5e70b8 100644 --- a/src/vendorcode/amd/cimx/sb800/Makefile.inc +++ b/src/vendorcode/amd/cimx/sb800/Makefile.inc @@ -79,10 +79,7 @@ CIMX_CFLAGS = export CIMX_ROOT export CIMX_INC export CIMX_CFLAGS -CC_bootblock := $(CC_bootblock) $(CIMX_INC) -CC_romstage := $(CC_romstage) $(CIMX_INC) -CC_ramstage := $(CC_ramstage) $(CIMX_INC) -CC_x86_32 := $(CC_x86_32) $(CIMX_INC) +CPPFLAGS_x86_32 += $(CIMX_INC) ####################################################################### diff --git a/src/vendorcode/amd/cimx/sb900/Makefile.inc b/src/vendorcode/amd/cimx/sb900/Makefile.inc index 6265597fc5..6b0d6dd814 100644 --- a/src/vendorcode/amd/cimx/sb900/Makefile.inc +++ b/src/vendorcode/amd/cimx/sb900/Makefile.inc @@ -82,10 +82,7 @@ CIMX_CFLAGS = export CIMX_ROOT export CIMX_INC export CIMX_CFLAGS -CC_bootblock := $(CC_bootblock) $(CIMX_INC) -CC_romstage := $(CC_romstage) $(CIMX_INC) -CC_ramstage := $(CC_ramstage) $(CIMX_INC) -CC_x86_32 := $(CC_x86_32) $(CIMX_INC) +CPPFLAGS_x86_32 += $(CIMX_INC) ####################################################################### -- cgit v1.2.3