Reland "tests: Allow specifying vboot source directory"

Respect VBOOT_SOURCE while including generic headers.

This reverts commit 26e7c1eae4.

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: I686575f7c5e22bee519e910f71a4ac579b5c6a50
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89176
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hsuan-ting Chen <roccochen@google.com>
This commit is contained in:
roccochen@chromium.com 2023-11-02 15:49:02 +08:00 committed by Matt DeVillier
commit e7d598ba2c
3 changed files with 2 additions and 2 deletions

View file

@ -15,6 +15,7 @@ absobj := $(abspath $(obj))
additional-dirs :=
VBOOT_SOURCE ?= 3rdparty/vboot
VBOOT_HOST_BUILD ?= $(abspath $(objutil)/vboot_lib)
COREBOOT_EXPORTS := COREBOOT_EXPORTS