From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com []) by mx.groups.io with SMTP id smtpd.web09.9153.1616743451720207122 for ; Fri, 26 Mar 2021 00:24:26 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: dandan.bi@intel.com) IronPort-SDR: 71tSjoGmyp0wy8r/uyiOdETmTXLYh6eqiCTRBJh2yqfIKuu/GBEerSuO5RRlRnrYGUj1vBBNEh QquK8e0iI+tA== X-IronPort-AV: E=McAfee;i="6000,8403,9934"; a="191125874" X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="191125874" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 00:24:25 -0700 IronPort-SDR: eHh5MSi1KsLpc7jv31nqiJEoXwc7fD0jKQo9S5SKOuQGm6Kn9QA9X2lWl1OC4HyBabq4bBp/4V HPu5Hc/RdY5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,279,1610438400"; d="scan'208";a="377154480" Received: from unknown (HELO shwdeOpenPSI114.ccr.corp.intel.com) ([10.239.154.141]) by orsmga006.jf.intel.com with ESMTP; 26 Mar 2021 00:24:23 -0700 From: "Dandan Bi" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [patch V3 12/29] IntelFsp2Pkg: Consume MdeLibs.dsc.inc for RegisterFilterLib Date: Fri, 26 Mar 2021 15:23:29 +0800 Message-Id: <20210326072346.4212-13-dandan.bi@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 In-Reply-To: <20210326072346.4212-1-dandan.bi@intel.com> References: <20210326072346.4212-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 --- 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