diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index f0d994c900..10abbc94fa 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -268,6 +268,21 @@ INF ShellPkg/Application/Shell/Shell.inf !endif +!ifdef $(FIRMWARE_OPEN_GOP_POLICY) + # Add PlatformGopPolicy implementation + !if $(ARCH) == IA32 + !else + INF RuleOverride=BINARY USE = X64 $(FIRMWARE_OPEN_GOP_POLICY) + !endif +!endif +!ifdef $(FIRMWARE_OPEN_GOP) + # Use IntelGopDriver binary + !if $(ARCH) == IA32 + !else + INF RuleOverride=BINARY USE = X64 $(FIRMWARE_OPEN_GOP) + !endif +!endif + ################################################################################ # # Rules are use with the [FV] section's module INF type to define