From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com []) by mx.groups.io with SMTP id smtpd.web09.6529.1616932987103991041 for ; Sun, 28 Mar 2021 05:03:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: dandan.bi@intel.com) IronPort-SDR: N4CTH8mr03AuNSdpeLyZ+GrjQtxIwOXdmIEZfDFHdIn98YrbeZoFDFTK47kVUcLh6hPjBnB7pz NCJFtKUspOjw== X-IronPort-AV: E=McAfee;i="6000,8403,9936"; a="276547723" X-IronPort-AV: E=Sophos;i="5.81,285,1610438400"; d="scan'208";a="276547723" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2021 05:03:10 -0700 IronPort-SDR: 8XeyfSl3YFknov5e3AlRyjjT0U+zD1PXiwvvWfq/6yNH5Bry2P5/NxH41tTDmvgl1k83t1S24Z zRly2mXNNRLw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,285,1610438400"; d="scan'208";a="377796628" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 28 Mar 2021 05:03:09 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [patch V4 12/29] IntelFsp2Pkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Sun, 28 Mar 2021 20:02:12 +0800 Message-Id: <20210328120229.24828-13-dandan.bi@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20210328120229.24828-1-dandan.bi@intel.com> References: <20210328120229.24828-1-dandan.bi@intel.com> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Dandan Bi Acked-by: Ard Biesheuvel --- IntelFsp2Pkg/IntelFsp2Pkg.dsc | 4 +++- IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dsc b/IntelFsp2Pkg/IntelFsp2Pkg.dsc index 309411630d..c1414f7e75 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dsc +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dsc @@ -1,9 +1,9 @@ ## @file # Provides driver and definitions to build fsp. # -# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## [Defines] @@ -14,10 +14,12 @@ [Defines] OUTPUT_DIRECTORY = Build/IntelFsp2Pkg SUPPORTED_ARCHITECTURES = IA32 BUILD_TARGETS = DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER = DEFAULT +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf diff --git a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc b/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc index bc4912313a..961576c9a7 100644 --- a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc +++ b/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc @@ -70,10 +70,12 @@ [SkuIds] # # Library Class section - list of all Library Classes needed by this Platform. # ################################################################################ +!include MdePkg/MdeLibs.dsc.inc + [LibraryClasses] PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf -- 2.18.0.windows.1