diff options
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -201,10 +201,6 @@ ifneq ($(OBJTREE),$(SRCTREE)) CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include endif -ifdef VBOOT -CPPFLAGS += -I$(VBOOT)/include/vboot -endif - ifdef DEV_TREE_SEPARATE CPPFLAGS += -DCONFIG_OF_SEPARATE endif @@ -213,6 +209,11 @@ CPPFLAGS += -I$(TOPDIR)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) +ifdef VBOOT +CPPFLAGS += -I$(if $(VBOOT_SOURCE),$(VBOOT_SOURCE)/firmware/include,\ + $(VBOOT)/include/vboot) +endif + ifdef BUILD_TAG CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \ -DBUILD_TAG='"$(BUILD_TAG)"' |