libpayload: Refer to vboot source consistently
Don't assume that libpayload is built from a fully checked out coreboot tree. There's already an override when building vboot, so reuse that override when referring to its header files. Signed-off-by: Patrick Georgi <pgeorgi@google.com> Change-Id: I503c69a593dd68b3a974fbdbb64d7bb25d6c7f63 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61427 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Rob Barnes <robbarnes@google.com>
This commit is contained in:
parent
f6bd2788b8
commit
49f0f9a422
|
@ -62,7 +62,7 @@ subdirs-$(CONFIG_LP_VBOOT_LIB) += vboot
|
|||
INCLUDES := -Iinclude -Iinclude/$(ARCHDIR-y) -I$(obj)
|
||||
INCLUDES += -include include/kconfig.h -include include/compiler.h
|
||||
INCLUDES += -I$(coreboottop)/src/commonlib/bsd/include
|
||||
INCLUDES += -I$(coreboottop)/3rdparty/vboot/firmware/include
|
||||
INCLUDES += -I$(VBOOT_SOURCE)/firmware/include
|
||||
|
||||
CFLAGS += $(INCLUDES) -Os -pipe -nostdinc -ggdb3
|
||||
CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer
|
||||
|
|
|
@ -34,7 +34,7 @@ TEST_CFLAGS := -include include/kconfig.h -include include/compiler.h
|
|||
TEST_CFLAGS += -Iinclude -Iinclude/mock
|
||||
TEST_CFLAGS += -I$(coreboottop)/src/commonlib/bsd/include
|
||||
TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER))
|
||||
TEST_CFLAGS += -I$(coreboottop)/3rdparty/vboot/firmware/include
|
||||
TEST_CFLAGS += -I$(VBOOT_SOURCE)/firmware/include
|
||||
|
||||
# Test specific includes
|
||||
TEST_CFLAGS += -I$(testsrc)/include
|
||||
|
|
Loading…
Reference in New Issue