summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-05-17 14:00:12 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-17 21:14:29 +0200
commit58f73a69cd83c46604795d728f296779c1de162c (patch)
tree742e007e50dc825988281e8c6b52da902a1f38bf /Makefile
parent98f49d28233f68aeb9dfccc6d7e633ae35449e00 (diff)
downloadcoreboot-58f73a69cd83c46604795d728f296779c1de162c.tar.gz
coreboot-58f73a69cd83c46604795d728f296779c1de162c.tar.bz2
coreboot-58f73a69cd83c46604795d728f296779c1de162c.zip
build: separate CPPFLAGS from CFLAGS
There are a couple of places where CPPFLAGS are pasted into CFLAGS, eliminate them. Change-Id: Ic7f568cf87a7d9c5c52e2942032a867161036bd7 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5765 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c9648c08cdcb..3404a5199a68 100644
--- a/Makefile
+++ b/Makefile
@@ -242,7 +242,7 @@ ifn$(EMPTY)def $(1)-objs_$(2)_template
de$(EMPTY)fine $(1)-objs_$(2)_template
$(obj)/$$(1).$(1).o: src/$$(1).$(2) $(obj)/config.h $(4)
@printf " CC $$$$(subst $$$$(obj)/,,$$$$(@))\n"
- $(CC_$(1)) $(3) -MMD $$$$(CFLAGS_$(1)) -c -o $$$$@ $$$$<
+ $(CC_$(1)) $(3) -MMD $$$$(CPPFLAGS_$(1)) $$$$(CFLAGS_$(1)) -c -o $$$$@ $$$$<
en$(EMPTY)def
end$(EMPTY)if
endef