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>
This commit is contained in:
@@ -214,12 +214,11 @@ ifneq ($(CONFIG_LOCALVERSION),"")
|
||||
COREBOOT_EXTRA_VERSION := -$(call strip_quotes,$(CONFIG_LOCALVERSION))
|
||||
endif
|
||||
|
||||
INCLUDES := -Isrc -Isrc/include -I$(obj)
|
||||
INCLUDES += -Isrc/device/oprom/include
|
||||
# abspath is a workaround for romcc
|
||||
INCLUDES += -include $(src)/include/kconfig.h
|
||||
CPPFLAGS := -Isrc -Isrc/include -I$(obj)
|
||||
CPPFLAGS += -Isrc/device/oprom/include
|
||||
CPPFLAGS += -include $(src)/include/kconfig.h
|
||||
|
||||
CFLAGS_common = $(INCLUDES) -Os -pipe -g -nostdinc
|
||||
CFLAGS_common = $(CPPFLAGS) -Os -pipe -g -nostdinc
|
||||
CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
|
||||
CFLAGS_common += -Wstrict-aliasing -Wshadow
|
||||
|
Reference in New Issue
Block a user