scripts: Make FIRMWARE_OPEN_MODEL_DIR
relative
coreboot expects paths to be relative to it, and vboot breaks include paths that are absolute. Fixes compilation failing due to the addition of `-Wmissing-include-dirs`. Ref: https://review.coreboot.org/c/coreboot/+/70251 Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Tim Crawford
parent
3e19b73397
commit
3812485a04
@@ -76,7 +76,8 @@ PACKAGES_PATH="${MODEL_DIR}:$(realpath apps)" \
|
|||||||
"${EDK2_ARGS[@]}"
|
"${EDK2_ARGS[@]}"
|
||||||
|
|
||||||
# Rebuild coreboot
|
# Rebuild coreboot
|
||||||
FIRMWARE_OPEN_MODEL_DIR="${MODEL_DIR}" \
|
# NOTE: coreboot expects paths to be relative to it
|
||||||
|
FIRMWARE_OPEN_MODEL_DIR="../models/${MODEL}" \
|
||||||
FIRMWARE_OPEN_UEFIPAYLOAD="${UEFIPAYLOAD}" \
|
FIRMWARE_OPEN_UEFIPAYLOAD="${UEFIPAYLOAD}" \
|
||||||
KERNELVERSION="${VERSION}" \
|
KERNELVERSION="${VERSION}" \
|
||||||
./scripts/_build/coreboot.sh \
|
./scripts/_build/coreboot.sh \
|
||||||
|
Reference in New Issue
Block a user