From 948cecf4bb571e35c051fcc77333658923e67241 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 26 Jan 2010 06:40:22 +0000 Subject: [PATCH] Clean up MtrrLib to remove unnecessary package dependency Add it to the [Components] section of UefiCpuPkg for build validation git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9823 6f19259b-4bc3-4df7-8a09-765794883524 --- UefiCpuPkg/Library/MtrrLib/MtrrLib.inf | 7 ++----- UefiCpuPkg/UefiCpuPkg.dsc | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf b/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf index 67b0340585..b6173ebd4a 100644 --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf @@ -1,7 +1,7 @@ #/** @file # MTRR library provides API for MTRR operation # -# Copyright (c) 2006 - 2008, Intel Corporation.
+# Copyright (c) 2006 - 2010, Intel Corporation.
# All rights reserved. This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -19,8 +19,6 @@ MODULE_TYPE = BASE VERSION_STRING = 1.0 LIBRARY_CLASS = MtrrLib - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 # @@ -29,11 +27,10 @@ # VALID_ARCHITECTURES = IA32 X64 # -[Sources.common] +[Sources] MtrrLib.c [Packages] - OvmfPkg/OvmfPkg.dec MdePkg/MdePkg.dec UefiCpuPkg/UefiCpuPkg.dec diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 4b713386f9..51df86615d 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -74,3 +74,4 @@ [Components.IA32, Components.X64] UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf + UefiCpuPkg/Library/MtrrLib/MtrrLib.inf \ No newline at end of file