From 87fcc6e8634efadb535ea0d7e9869e72e772fccf Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Tue, 2 Apr 2019 13:50:22 +0800 Subject: [PATCH] CorebootPayloadPkg: Remove the dependency of ShellBinPkg REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1675 In long term we will remove ShellBinPkg, so now we update platform to use ShellPkg only. Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi Reviewed-by: Benjamin You --- CorebootPayloadPkg/CorebootPayloadPkg.fdf | 18 ------------------ CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 9 --------- .../CorebootPayloadPkgIa32X64.dsc | 9 --------- 3 files changed, 36 deletions(-) diff --git a/CorebootPayloadPkg/CorebootPayloadPkg.fdf b/CorebootPayloadPkg/CorebootPayloadPkg.fdf index 3ab1c70cc0..4e669ae887 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkg.fdf +++ b/CorebootPayloadPkg/CorebootPayloadPkg.fdf @@ -173,27 +173,9 @@ INF QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf # # Shell # -!if $(SHELL_TYPE) == BUILD_SHELL INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf INF ShellPkg/Application/Shell/Shell.inf -!endif - -!if $(SHELL_TYPE) == MIN_BIN -!if $(ARCH) == IA32 -INF RuleOverride = BINARY USE = IA32 ShellBinPkg/MinUefiShell/MinUefiShell.inf -!else -INF RuleOverride = BINARY USE = X64 ShellBinPkg/MinUefiShell/MinUefiShell.inf -!endif -!endif - -!if $(SHELL_TYPE) == UEFI_BIN -!if $(ARCH) == IA32 -INF RuleOverride = BINARY USE = IA32 ShellBinPkg/UefiShell/UefiShell.inf -!else -INF RuleOverride = BINARY USE = X64 ShellBinPkg/UefiShell/UefiShell.inf -!endif -!endif FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) { SECTION RAW = MdeModulePkg/Logo/Logo.bmp diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index d87c170807..57a5508c95 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -76,11 +76,6 @@ # DEFINE USE_HPET_TIMER = FALSE - # - # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI] - # - DEFINE SHELL_TYPE = UEFI_BIN - [BuildOptions] *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG @@ -516,8 +511,6 @@ # Build the shell #------------------------------ -!if $(SHELL_TYPE) == BUILD_SHELL - # # Shell Lib # @@ -579,5 +572,3 @@ ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf } - -!endif diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index fcbd1f9a15..84f59e9119 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -76,11 +76,6 @@ # DEFINE USE_HPET_TIMER = FALSE - # - # Shell options: [BUILD_SHELL, MIN_BIN, NONE, UEFI] - # - DEFINE SHELL_TYPE = UEFI_BIN - [BuildOptions] *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG @@ -517,8 +512,6 @@ # Build the shell #------------------------------ -!if $(SHELL_TYPE) == BUILD_SHELL - # # Shell Lib # @@ -580,5 +573,3 @@ ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf } - -!endif -- 2.39.2