render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0006-EXCLUDE_SHELL_FROM_FD.patch

Gerd Hoffmann b0c3af
From: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann b0c3af
Date: Thu, 18 Feb 2016 10:52:44 +0100
Gerd Hoffmann b0c3af
Subject: [PATCH] EXCLUDE_SHELL_FROM_FD
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
---
Gerd Hoffmann b0c3af
 OvmfPkg/OvmfPkgIa32.fdf    | 2 ++
Gerd Hoffmann b0c3af
 OvmfPkg/OvmfPkgIa32X64.fdf | 2 ++
Gerd Hoffmann b0c3af
 OvmfPkg/OvmfPkgX64.fdf     | 2 ++
Gerd Hoffmann b0c3af
 3 files changed, 6 insertions(+)
Gerd Hoffmann b0c3af
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf
b17819
index 2a5b211..ebdab17 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgIa32.fdf
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgIa32.fdf
b17819
@@ -281,11 +281,13 @@ INF  MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
Gerd Hoffmann b0c3af
 
Gerd Hoffmann b0c3af
 INF  FatPkg/EnhancedFatDxe/Fat.inf
Gerd Hoffmann b0c3af
 
Gerd Hoffmann b0c3af
+!ifndef $(EXCLUDE_SHELL_FROM_FD)
Gerd Hoffmann b0c3af
 !ifndef $(USE_OLD_SHELL)
Gerd Hoffmann b0c3af
 INF  ShellPkg/Application/Shell/Shell.inf
Gerd Hoffmann b0c3af
 !else
Gerd Hoffmann b0c3af
 INF  RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
Gerd Hoffmann b0c3af
 !endif
Gerd Hoffmann b0c3af
+!endif
Gerd Hoffmann b0c3af
 
b17819
 INF MdeModulePkg/Logo/LogoDxe.inf
b17819
 
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
b17819
index 1c7df21..adf53f3 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgIa32X64.fdf
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgIa32X64.fdf
b17819
@@ -281,11 +281,13 @@ INF  MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
Gerd Hoffmann b0c3af
 
Gerd Hoffmann b0c3af
 INF  FatPkg/EnhancedFatDxe/Fat.inf
Gerd Hoffmann b0c3af
 
Gerd Hoffmann b0c3af
+!ifndef $(EXCLUDE_SHELL_FROM_FD)
Gerd Hoffmann b0c3af
 !ifndef $(USE_OLD_SHELL)
Gerd Hoffmann b0c3af
 INF  ShellPkg/Application/Shell/Shell.inf
Gerd Hoffmann b0c3af
 !else
Gerd Hoffmann b0c3af
 INF  RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf
Gerd Hoffmann b0c3af
 !endif
Gerd Hoffmann b0c3af
+!endif
Gerd Hoffmann b0c3af
 
b17819
 INF MdeModulePkg/Logo/LogoDxe.inf
b17819
 
Gerd Hoffmann b0c3af
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
b17819
index 3bb11cb..edf1098 100644
Gerd Hoffmann b0c3af
--- a/OvmfPkg/OvmfPkgX64.fdf
Gerd Hoffmann b0c3af
+++ b/OvmfPkg/OvmfPkgX64.fdf
b17819
@@ -281,11 +281,13 @@ INF  MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
Gerd Hoffmann b0c3af
 
Gerd Hoffmann b0c3af
 INF  FatPkg/EnhancedFatDxe/Fat.inf
Gerd Hoffmann b0c3af
 
Gerd Hoffmann b0c3af
+!ifndef $(EXCLUDE_SHELL_FROM_FD)
Gerd Hoffmann b0c3af
 !ifndef $(USE_OLD_SHELL)
Gerd Hoffmann b0c3af
 INF  ShellPkg/Application/Shell/Shell.inf
Gerd Hoffmann b0c3af
 !else
Gerd Hoffmann b0c3af
 INF  RuleOverride = BINARY EdkShellBinPkg/FullShell/FullShell.inf
Gerd Hoffmann b0c3af
 !endif
Gerd Hoffmann b0c3af
+!endif
Gerd Hoffmann b0c3af
 
b17819
 INF MdeModulePkg/Logo/LogoDxe.inf
b17819