summaryrefslogtreecommitdiff
path: root/payloads/libpayload/tests/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/tests/Makefile.inc')
-rw-r--r--payloads/libpayload/tests/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/tests/Makefile.inc b/payloads/libpayload/tests/Makefile.inc
index 529524ca32..2a067e0f9f 100644
--- a/payloads/libpayload/tests/Makefile.inc
+++ b/payloads/libpayload/tests/Makefile.inc
@@ -30,7 +30,8 @@ TEST_CONFIG_ := CONFIG_LP_
# Default includes
-TEST_CFLAGS := -include include/kconfig.h -include include/compiler.h
+TEST_CFLAGS := -include include/kconfig.h
+TEST_CFLAGS += -include $(coreboottop)/src/commonlib/bsd/include/commonlib/bsd/compiler.h
TEST_CFLAGS += -Iinclude -Iinclude/mock
TEST_CFLAGS += -I$(coreboottop)/src/commonlib/bsd/include
TEST_CFLAGS += -I$(dir $(TEST_KCONFIG_AUTOHEADER))