summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorroccochen@chromium.com <roccochen@chromium.org>2023-11-02 15:49:02 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-11-16 12:55:23 +0000
commit7713a2f295d9ed9a7023a78e085ce190ee1203fe (patch)
treef56d83145b52b83200b596e590c3c5133054c2a8 /tests
parent94a2d7492672e2cb5c4dfdbc2a17be27c79df290 (diff)
tests: Allow specifying vboot source directory
Respect VBOOT_SOURCE while including generic headers. BUG=none TEST=make clean-unit-tests && VBOOT_SOURCE=/path/to/vboot_reference/ make unit-tests -j TEST=make clean-unit-tests && make unit-tests -j BRANCH=none Change-Id: Id3bb3726c91167d2dd648d748763a3948787f28d Signed-off-by: roccochen@chromium.com <roccochen@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78849 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.common b/tests/Makefile.common
index e51d2530a2..9cc79d7a6f 100644
--- a/tests/Makefile.common
+++ b/tests/Makefile.common
@@ -36,7 +36,7 @@ TEST_INCLUDES += -I$(testsrc)/include/mocks -I$(testsrc)/include
TEST_INCLUDES += -I$(src) -I$(src)/include -I$(src)/commonlib/include \
-I$(src)/commonlib/bsd/include -I$(src)/arch/x86/include \
- -I$(top)/3rdparty/vboot/firmware/include
+ -I$(VBOOT_SOURCE)/firmware/include
# Path for Kconfig autoheader
TEST_INCLUDES += -I$(dir $(TEST_KCONFIG_AUTOHEADER))