From: yshang1 Date: Wed, 25 Jul 2007 03:13:13 +0000 (+0000) Subject: Remove unused section in .INF, .DEC, .DSC of MdePkg and MdeModulePkg. X-Git-Tag: edk2-stable201903~22533 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6cbcf597c654d0fd7a0cbe0dfd8dc4d29583a6e4;ds=sidebyside Remove unused section in .INF, .DEC, .DSC of MdePkg and MdeModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3428 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/DxePeCoffLoaderFromHobLib/DxePeCoffLoaderFromHobLib.inf b/MdeModulePkg/Library/DxePeCoffLoaderFromHobLib/DxePeCoffLoaderFromHobLib.inf index ad1cba6496..2340e69e3c 100644 --- a/MdeModulePkg/Library/DxePeCoffLoaderFromHobLib/DxePeCoffLoaderFromHobLib.inf +++ b/MdeModulePkg/Library/DxePeCoffLoaderFromHobLib/DxePeCoffLoaderFromHobLib.inf @@ -33,17 +33,11 @@ [Sources.common] PeCoff.c - CommonHeader.h - - -[Includes] - $(WORKSPACE)/MdePkg/Include/Library [Packages] MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec - [LibraryClasses] HobLib diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index ca492e3fba..4334719e3e 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -13,11 +13,6 @@ # #**/ -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ [Defines] PLATFORM_NAME = MdeModule PLATFORM_GUID = 587CE499-6CBE-43cd-94E2-186218569478 @@ -30,12 +25,6 @@ -################################################################################ -# -# Library Class section - list of all Library Classes needed by this Platform. -# -################################################################################ - [LibraryClasses.common] CacheMaintenanceLib|$(WORKSPACE)/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf DebugLib|$(WORKSPACE)/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf @@ -280,11 +269,6 @@ [LibraryClasses.EBC.DXE_RUNTIME_DRIVER] UefiRuntimeLib|$(WORKSPACE)/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf -################################################################################ -# -# Pcd Section - list of all EDK II PCD Entries defined by this Platform -# -################################################################################ [PcdsFeatureFlag.common] PcdSupportUpdateCapsuleRest|gEfiMdeModulePkgTokenSpaceGuid|FALSE PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid|FALSE diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf index 3f97393dc3..1d89792a59 100644 --- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf +++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf @@ -39,7 +39,6 @@ Udp4Impl.c Udp4Driver.h Udp4Driver.c - CommonHeader.h [Packages] diff --git a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf index 8998c561cf..ef6bc23f02 100644 --- a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf +++ b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf @@ -33,10 +33,6 @@ SecurityStub.c SecurityStub.h - -[Includes] - $(WORKSPACE)/MdePkg/Include/Library - [Packages] MdePkg/MdePkg.dec diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 9e148c3dbc..428b35ade5 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -1,5 +1,4 @@ #/** @file -# Framework Module Development Environment Industry Standards # # This Package provides headers and libraries that conform to EFI/PI Industry standards. # Copyright (c) 2007, Intel Corporation. @@ -24,19 +23,19 @@ [Includes.common] - Include # Root include for the package + Include [Includes.Ia32] - Include/Ia32 # Processor specific include path for pacakge + Include/Ia32 [Includes.X64] - Include/x64 # Processor specific include path for pacakge + Include/x64 [Includes.IPF] - Include/Ipf # Processor specific include path for pacakge + Include/Ipf [Includes.EBC] - Include/Ebc # Processor specific include path for pacakge + Include/Ebc [LibraryClasses.common] CustomDecompressLib|Include/Library/CustomDecompressLib.h @@ -140,7 +139,6 @@ gEfiHobMemoryAllocModuleGuid = { 0xF8E21975, 0x0899, 0x4F58, { 0xA4, 0xBE, 0x55, 0x25, 0xA9, 0xC6, 0xD7, 0x7A }} gEfiHobMemoryAllocStackGuid = { 0x4ED4BF27, 0x4092, 0x42E9, { 0x80, 0x7D, 0x52, 0x7B, 0x1D, 0x00, 0xC9, 0xBD }} gEfiHobMemoryAllocBspStoreGuid = { 0x564B33CD, 0xC92A, 0x4593, { 0x90, 0xBF, 0x24, 0x73, 0xE4, 0x3C, 0x63, 0x22 }} - gEfiEventLegacyBootGuid = { 0x2A571201, 0x4966, 0x47F6, { 0x8B, 0x86, 0xF3, 0x1E, 0x41, 0xF3, 0x2F, 0x10 }} gEfiHobListGuid = { 0x7739F24C, 0x93D7, 0x11D4, { 0x9A, 0x3A, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }} diff --git a/MdePkg/MdePkg.dsc b/MdePkg/MdePkg.dsc index 50cc89a1e6..a5d172e4ce 100644 --- a/MdePkg/MdePkg.dsc +++ b/MdePkg/MdePkg.dsc @@ -1,8 +1,6 @@ #/** @file # EFI/PI MdePkg Package # -# This FPD file is used for Package Level build. -# # Copyright (c) 2007, Intel Corporation # # All rights reserved. This program and the accompanying materials @@ -15,11 +13,6 @@ # #**/ -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ [Defines] PLATFORM_NAME = Mde PLATFORM_GUID = 082F8BFC-0455-4859-AE3C-ECD64FB81642 @@ -31,12 +24,6 @@ SKUID_IDENTIFIER = DEFAULT -################################################################################ -# -# Pcd Section - list of all EDK II PCD Entries defined by this Platform -# -################################################################################ - [PcdsFeatureFlag.common] PcdComponentNameDisable|gEfiMdePkgTokenSpaceGuid|FALSE PcdDriverDiagnosticsDisable|gEfiMdePkgTokenSpaceGuid|FALSE @@ -67,12 +54,6 @@ [PcdsFixedAtBuild.IPF] PcdIoBlockBaseAddressForIpf|gEfiMdePkgTokenSpaceGuid|0x0ffffc000000 -################################################################################ -# -# Components Section - list of all EDK II Modules needed by this Platform -# -################################################################################ - [Components.common] $(WORKSPACE)/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf $(WORKSPACE)/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf