payloads/edk2: Add a recipe to build UniversalPayload.elf
Add a recipe to build UniversalPayload.elf, which uses a wrapper for the UniversalPayloadBuild.py that is hosted in the edk2 repository. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I2aa318513244f576e07e72713fad3b4f7bd7c22e Reviewed-on: https://review.coreboot.org/c/coreboot/+/68183 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
parent
461c33b226
commit
716bd48a53
|
@ -198,6 +198,18 @@ $(WORKSPACE)/Build/UefiPayloadPkgX64/$(RELEASE_STR)_COREBOOT/FV/UEFIPAYLOAD.fd:
|
||||||
fi
|
fi
|
||||||
echo "Success!"; \
|
echo "Success!"; \
|
||||||
|
|
||||||
|
$(WORKSPACE)/Build/UefiPayloadPkgX64/UniversalPayload.elf: \
|
||||||
|
prep print
|
||||||
|
cd $(WORKSPACE); \
|
||||||
|
source $(EDK2_PATH)/edksetup.sh; \
|
||||||
|
echo -n "EDK2: Building... "; \
|
||||||
|
$(EDK2_PATH)/UefiPayloadPkg/UniversalPayloadBuild.sh -a IA32 -a X64 -b $(RELEASE_STR) $(BUILD_STR)
|
||||||
|
if [ ! -f $@ ]; then \
|
||||||
|
echo "Failed!"; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
echo "Success!"; \
|
||||||
|
|
||||||
UefiPayloadPkg: $(WORKSPACE)/Build/UefiPayloadPkgX64/$(RELEASE_STR)_COREBOOT/FV/UEFIPAYLOAD.fd
|
UefiPayloadPkg: $(WORKSPACE)/Build/UefiPayloadPkgX64/$(RELEASE_STR)_COREBOOT/FV/UEFIPAYLOAD.fd
|
||||||
mv $(WORKSPACE)/Build/UefiPayloadPkgX64/$(RELEASE_STR)_COREBOOT/FV/UEFIPAYLOAD.fd \
|
mv $(WORKSPACE)/Build/UefiPayloadPkgX64/$(RELEASE_STR)_COREBOOT/FV/UEFIPAYLOAD.fd \
|
||||||
../../../build/UEFIPAYLOAD.fd
|
../../../build/UEFIPAYLOAD.fd
|
||||||
|
|
Loading…
Reference in New Issue