summaryrefslogtreecommitdiff
path: root/payloads/libpayload/tests/Makefile.inc
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2021-11-23 09:21:30 +0000
committerPatrick Georgi <patrick@coreboot.org>2021-12-01 13:32:06 +0000
commit39b2e7abdd8abf3553311dd547d7929c3411cbab (patch)
tree5f9e89917ed5ac311decf317ca9d6dfb6dc6e9f9 /payloads/libpayload/tests/Makefile.inc
parent9f10950426e830752be1f49f1d50922ad6499420 (diff)
libpayload: Add coreboot commonlib/bsd include path
Make BSD part of the coreboot commonlib accessible to libpayload. Change-Id: I09f475d399ab785f3d3ffdb4b42950d2b397845e Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <patrick@coreboot.org>
Diffstat (limited to 'payloads/libpayload/tests/Makefile.inc')
-rw-r--r--payloads/libpayload/tests/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/payloads/libpayload/tests/Makefile.inc b/payloads/libpayload/tests/Makefile.inc
index ba465b0471..c4463d705a 100644
--- a/payloads/libpayload/tests/Makefile.inc
+++ b/payloads/libpayload/tests/Makefile.inc
@@ -11,8 +11,6 @@ testobj := $(obj)/tests
endif
coverage-dir := $(testobj)/coverage_reports
-coreboottop := ../../
-
cmockasrc := $(coreboottop)/3rdparty/cmocka
cmockaobj := $(objutil)/cmocka
CMOCKA_LIB := $(cmockaobj)/src/libcmocka.so
@@ -34,6 +32,7 @@ TEST_CONFIG_ := CONFIG_LP_
# Default includes
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 specific includes