Rename coreboot.rom to firmware.rom, easier to read path for usb basedir

This commit is contained in:
Jeremy Soller 2020-04-08 12:56:46 -06:00
parent 6050b3e09b
commit 3eefdb9619
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -28,7 +28,7 @@ rm -rf "${BUILD}"
mkdir -p "${BUILD}" mkdir -p "${BUILD}"
UEFIPAYLOAD="${BUILD}/UEFIPAYLOAD.fd" UEFIPAYLOAD="${BUILD}/UEFIPAYLOAD.fd"
COREBOOT="${BUILD}/coreboot.rom" COREBOOT="${BUILD}/firmware.rom"
USB="${BUILD}/usb.img" USB="${BUILD}/usb.img"
EDK2_ARGS=( EDK2_ARGS=(
-D USE_HPET_TIMER=FALSE -D USE_HPET_TIMER=FALSE
@ -91,8 +91,7 @@ fi
if [ "${MODEL}" != "qemu" ] if [ "${MODEL}" != "qemu" ]
then then
# Rebuild firmware-update # Rebuild firmware-update
SHASUM="$(sha384sum "${COREBOOT}" | cut -d " " -f 1)" export BASEDIR="system76_${MODEL}_${VERSION}"
export BASEDIR="system76-${SHASUM}"
pushd apps/firmware-update >/dev/null pushd apps/firmware-update >/dev/null
rm -rf "build/x86_64-efi-pe" rm -rf "build/x86_64-efi-pe"
make "build/x86_64-efi-pe/boot.img" make "build/x86_64-efi-pe/boot.img"