From 4b9fc76f7bba0d847d36cb2070a2d3305ae87acc Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 17 Jul 2006 14:31:03 +0000 Subject: [PATCH] Fix track EDKT104: If a module use PCD, MSA of this module should use PcdLib libraryClass. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1034 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa | 3 +++ .../org/tianocore/build/pcd/action/PCDAutoGenAction.java | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa index 9db23eb2e5..7996aeb86d 100644 --- a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa +++ b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa @@ -42,6 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. DebugLib + + PcdLib + PciLib.c diff --git a/Tools/Source/GenBuild/org/tianocore/build/pcd/action/PCDAutoGenAction.java b/Tools/Source/GenBuild/org/tianocore/build/pcd/action/PCDAutoGenAction.java index f567cccc67..7f955ff040 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/pcd/action/PCDAutoGenAction.java +++ b/Tools/Source/GenBuild/org/tianocore/build/pcd/action/PCDAutoGenAction.java @@ -425,13 +425,6 @@ private UUID translateSchemaStringToUUID(String uuidString) } } - if(usageInstanceArray.size() != 0) { - // - // Add "#include 'PcdLib.h'" for Header file - // - hAutoGenString = "#include \r\n"; - } - // // Generate all PCD entry for a module. // -- 2.39.2