Index: config.mk |
diff --git a/config.mk b/config.mk |
index dc26b7cd7e930a0fcb62882379190dc5250a9b4f..486a322de5534450020de1b1d28344d20275894d 100644 |
--- a/config.mk |
+++ b/config.mk |
@@ -46,6 +46,10 @@ PLATFORM_LDFLAGS = |
######################################################################### |
+ifdef CROS_CONFIG_PATH |
+HOSTCPPFLAGS += -I$(CROS_CONFIG_PATH) |
+endif |
+ |
HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ |
$(HOSTCPPFLAGS) |
HOSTSTRIP = strip |
@@ -185,6 +189,10 @@ ifdef VBOOT_DEBUG |
CPPFLAGS += -DVBOOT_DEBUG |
endif |
+ifdef CROS_CONFIG_PATH |
+CPPFLAGS += -I$(CROS_CONFIG_PATH) |
+endif |
+ |
CPPFLAGS += -I$(TOPDIR)/include |
CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ |
-isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) |