From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web09.3510.1660344796418104878 for ; Fri, 12 Aug 2022 15:53:16 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=i+ZkdpKI; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: guo.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660344796; x=1691880796; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=3tvQBqEPRqvd15bgai6JmUvcdv/sN6/xH/9eBYPWMgw=; b=i+ZkdpKI4kEGoQ+6UXyxchOochDcJInywdjaa+XP3/NRWXRrj6RyM4HU vFRL9/BnIb6YrQt0BIKPadrD2duHfFtTkIfba1GOZtHFt212IhJnjHM3n pJfG1YQUg7cy3K+V9c9+NWOw3/bvLL5eK1O6Mi7XJUODyaWc/uq+vRufH 17fSSjc/oJ0S/BJ/4rww3Knq5CNbgigZ0NP6zhlao2nCv8pi7JJOclj4V zISShgvSFGnrMIJz0NkezDOljMg2rROaI1Z2YlXZCPuePN/H7NBVN+Bti /t8qTM+Htg1hTPaTdodcfvJRSZ2Jq2mh8iTDICL4GW6NFNxbdJ8/Boc47 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10437"; a="292498081" X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="292498081" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2022 15:53:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,233,1654585200"; d="scan'208";a="674250406" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 12 Aug 2022 15:53:15 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 12 Aug 2022 15:53:15 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 12 Aug 2022 15:53:15 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Fri, 12 Aug 2022 15:53:15 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Fri, 12 Aug 2022 15:53:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V/GAk4KE/vCi3Q5JRy0Ug/aKmqS6HlJ6idGsUyO3V6RvQGgxfOWZy3jqRE9EPIcfnI8ZDVxdnLJbvc/V2YaRFXnqiS0jteStElZLXXPbtTvr0e1FN6p5gMFElUTc214NqBumuLLtbOChi6ZMeLO9HLTILoAuIiI1MSjUCHjYms2BNh0kOQQQC6kVXMCA9RBwaGh+R9VwHivuz+1Gj7I3xFJMSRhMASzITz1sJt7IrqSTJtd1Qc2QXYowB+dKe0smML0iSkYxLZRFZXsB9ayus83o61NadLyNZXYWk5PoxS4NcoSnET+JFqK4dVo8zBMnHWwivS2hM1q93MURTMda7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=08U1qsR33cnF5XrR64cGvYIeotZUah8g2Cbbq6to4Ec=; b=QZknaPbrzk6Vl4revQcCkQ3/8jUVgC0IzSD7Of8RqJ7FWjhQDrjkqs2VHrqY7qHPRCxyY6K3OzDYzcxw46/nJJFg6ZFs3+K0Jq1OczT+RKB9BG6/wQgSCyEfAJCFZa9I7ma1aU3jl+Ac3c+FhNNd7mrCx7FsmLMERjR0H1LTR92iQN2Q3UedibNIbNkUEplWvQgioS6Wde+KjapIprbatdcBvLvQRy11v5cksXpbN1zlq1fcg9HrjGmUt/ij+HsktZss/JoQMzmgtLZ2pFl9+NDfBG41ccsi5jGnirmLxbpse+WjM9Oq9USa3Q85AEf5xsWY9f9BE+UTxR8pb4+agA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CY5PR11MB6260.namprd11.prod.outlook.com (2603:10b6:930:23::16) by BN6PR11MB1715.namprd11.prod.outlook.com (2603:10b6:404:49::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.10; Fri, 12 Aug 2022 22:53:12 +0000 Received: from CY5PR11MB6260.namprd11.prod.outlook.com ([fe80::d51:f743:8ca2:8160]) by CY5PR11MB6260.namprd11.prod.outlook.com ([fe80::d51:f743:8ca2:8160%7]) with mapi id 15.20.5525.011; Fri, 12 Aug 2022 22:53:12 +0000 From: "Guo Dong" To: "Oram, Isaac W" , "devel@edk2.groups.io" CC: "Chaganty, Rangasai V" , "Desimone, Nathaniel L" , "Gao, Liming" , "Ni, Ray" Subject: Re: [edk2-devel][edk2-platforms][PATCH V1 1/3] PlatformPayloadPkg: Fix AdvancedFeaturePkg build issue Thread-Topic: [edk2-devel][edk2-platforms][PATCH V1 1/3] PlatformPayloadPkg: Fix AdvancedFeaturePkg build issue Thread-Index: AQHYrQsfoDn6hMKuhk2nIXxkYt+Gzq2r4now Date: Fri, 12 Aug 2022 22:53:12 +0000 Message-ID: References: <2c8041f852ea4462daabe8bb323f201caa9b501f.1660171324.git.isaac.w.oram@intel.com> In-Reply-To: <2c8041f852ea4462daabe8bb323f201caa9b501f.1660171324.git.isaac.w.oram@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 33653976-a440-4882-8256-08da7cb56f55 x-ms-traffictypediagnostic: BN6PR11MB1715:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pN0nvQhln1AMvqnq9wJM0yNSteLr+jJJigICFy8FJ+6FLGbaOmUtVVqcHGjxWw8RQDVKQ9NOFvor2fNLCco+Vj8n0wZIlny208iqvHEPl5GZ9hfzHXlcehyxUkA6lTwaMC4b3SgD/emKARSEKXl7eEZ1TlQlfsl0eDTgOTf1/V/7xojc8lOKBkd92/AjDwqm42t6zHBm4ZlNOOM4NQ3Oue3qM7mW5ejyQvgvQA6K4iLorDgk4CAdu2Az2J/sdh/M34SPzf2sKDXVvlKDIZEdw7iaudrJdTKiHM6i80dfkvnfPyUmcdq0SNO9bZYlp7bDVUyfvsT99LIhJzoxZqEVsSUXFlGTiE4WTtD7P5/JLOVt6kvYEDwhwLfyOhdBCjdJGAg1PXWLp+EcCOFVLn5E3eX/gTuHfS6wZJxJOi0zLG249DGSmiyRN8WSpYJykCz0xjmbwm4kXu/orPP7Ny9tcXmXfngdJYzMixVpjkU0mmOHydl6wqTQaZurlwVXEYPcNynk4UGOVWvJruwr6Jr/sdVENtKTByEy/opKiQJVCvkNxSYPjzO3pzWxYe4AOROVaI3X807a5cogUuSZ5IljVyvnW93THmgs+KaDJ0W8G6uN+c38vftvRGhgs7rxoja9UDhcS8rNNKLU9uN9vBjRSB8mMgQ1c4ZbqJPVxgACYIz3dnyTUe+HDg0ehLNUj+dsUtiu/Rapu7S8QTozMmbXMKVf87+5xJLM9SOKm6SHx1RCR01FDwZ4G1sXgaoYp4lNlWjgqsRxd5o7PPf4KiK9fBgFL6rKx8AaNG/2KEYSacYmTgOnfSQOYFyw//Njyxsd x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY5PR11MB6260.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(346002)(136003)(376002)(366004)(396003)(5660300002)(7696005)(53546011)(6506007)(9686003)(41300700001)(52536014)(86362001)(82960400001)(8936002)(66946007)(110136005)(71200400001)(54906003)(478600001)(66476007)(64756008)(38070700005)(316002)(66556008)(8676002)(66446008)(4326008)(2906002)(76116006)(55016003)(186003)(122000001)(107886003)(83380400001)(33656002)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?D+JPKr8r1zzt4UeiqkfE9ZstubuWs3Nh+HMB7d1vQSBd4M/FWHeH+6h3pHCS?= =?us-ascii?Q?hbugWYcZS0Me5u+kuWVSppbzKCSY/tQhZ+o5anfHItulLivSZjqa8v0yNMha?= =?us-ascii?Q?Wj4MoNTuCHCpEAlfYAohHA+qIqcAEpvZSaZw2N8sqfz7KHmRHGLVbBwTqdYx?= =?us-ascii?Q?6BZ6zn3SDKS8rT0/Kia/31pDA+ycsaNJWLLKCAAQ7/BsNjVPt7w8VdBqDtGA?= =?us-ascii?Q?gCyNebMjKvPXlHZO0F/FmASyetL8t3qw3vaTbCTn6Nx4i2/fmbET7Om1MjRQ?= =?us-ascii?Q?aJtXkrj4YfY4pMKzwuGm7wfFrUq+DFHcEfye9kqNueiphBITpcyxeqAtmgdE?= =?us-ascii?Q?VGNSI+vcJ8yqEw4UgrLZS79OQVFxwSBB3nJuOmtJb2WZSGVPFN+zCWuPQez8?= =?us-ascii?Q?uFOH8BRmzxvM0htKgywuIcC6hikaYazBCAUKfggBiqJWapxOQpVWCTGhNVXm?= =?us-ascii?Q?teKTiCRA9CfIpP/OWIY88ajsM9TNzI7ucRkCFgmdjKAmF3W++m1rCErHoTbH?= =?us-ascii?Q?zTrO5SDP5qQ3xrmGC0thF5Pw3gcDlsGqv8A6WR8W1kB+kp/cWizAoqomNUGc?= =?us-ascii?Q?+3rb4qGn5jBIRm0d1epbo3hOQa2xaPuBi4aO9GQw/7Ykm1LzAhxTDu5iAAJE?= =?us-ascii?Q?zcHfCGDD+ouNdPgBu2oPEeRW7aHvlcF980/donQxStmca1ydmZjIIuJYQp/v?= =?us-ascii?Q?0CUgq1bOB8Qk2pDMl/IYRcUl1fcM/sHF4WceEKVQqZEeetgUIC7dkI9syYRk?= =?us-ascii?Q?XFAz+Ym6aFq9sZj/gAEEueRp72jkZR+cenNPlLjZTNjoWxGuW/sl1IWJuQkF?= =?us-ascii?Q?9nYrpOqYh8PegehdCHmfW/5cacaZIddn0rtz60cvqaOkN2eAwt9uDNVw5ae7?= =?us-ascii?Q?Zv9swGSGv5jr7ZzlJ4BIH/qu4Kr/CSGxUYfO6SlF1lTtnFcdQqsUva1W/3/e?= =?us-ascii?Q?ddTAqoTvYB7j4qWcmnUbk6l+56BIX8lEF6C/88Zk2jnapMqG80BBvAYh+3kh?= =?us-ascii?Q?yOydsanJnlvet+gtyE+JzqaS8ZOdkhQI++p/uOgB9qqAeNR7NbMlI/hCAwhS?= =?us-ascii?Q?IWs9U9ex8tw6sMRgpYHtZ+/aJef5MF56yTo2aaFGNOpgUvVvvesFZ6CX79qi?= =?us-ascii?Q?4m/dfzjEJyOKFYCIhV2DXSS4vvWOYNcw/E/k4+Il/H/CVaTX4AFqy0S7i86h?= =?us-ascii?Q?uLYXikPZrNTV/+R217MbtqFDr/YpDVsfWNX5R9i1PMmeiRpp8vetrW4AXcqK?= =?us-ascii?Q?F63TCryADDRIkHXk9df/o4XMxpC8h6ZKrQ3ooLTJZ30K6wdJas4WAnqP65ID?= =?us-ascii?Q?dY+vmFJE26erEVkOECwNqtD0/oyHJJxalvsoRuIwUdk61RdzCgsTw3A9rnZF?= =?us-ascii?Q?XXWbJZXQpUerBzqOj8giG6793qWvqp3vLeBZd3glvGm56qk/ZdfwfmmxAAlf?= =?us-ascii?Q?KfqbxkDbtzbcjzHVqx8SbB4iWOJlj05X7Lnz/r4mbKEz2Vpu6JcvqbJWNwTt?= =?us-ascii?Q?mE4xHWV7jw+kuo/0WfRAiM/22qADTuMV/M3F1IXQ+PeIy49i5ryjsCqoOTHo?= =?us-ascii?Q?LJmzuKNfbPC+yGQHXeBL73EikApIv8L6Bj7Ws6x8F1jE3cExRtTGWNO9WldY?= =?us-ascii?Q?6kkkU9dIlsXuVXt3cx9X2uvr3fr/8K92t1hUjLh+yjsu?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6260.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33653976-a440-4882-8256-08da7cb56f55 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2022 22:53:12.4833 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9sZx217OraV3MU5bpRxEzrKQxWRrjtRR/Es7k8RQmVqDildAxBGsPtIoShrzB/CIAgEx76VVhXeBKI6YrgTH2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1715 Return-Path: guo.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Guo Dong -----Original Message----- From: Oram, Isaac W =20 Sent: Wednesday, August 10, 2022 3:47 PM To: devel@edk2.groups.io Cc: Oram, Isaac W ; Chaganty, Rangasai V ; Desimone, Nathaniel L ; Gao, Liming ; Ni, Ray ; Don= g, Guo Subject: [edk2-devel][edk2-platforms][PATCH V1 1/3] PlatformPayloadPkg: Fix= AdvancedFeaturePkg build issue Feature packages should build with -a IA32 -a X64. The commonly board selected libraries were moved to the PlatformPayloadPkg = build so as not to conflict with other advanced features. Cc: Sai Chaganty Cc: Nate DeSimone Cc: Liming Gao Cc: Ray Ni Cc: Guo Dong Signed-off-by: Isaac Oram --- .../Include/PlatformPayloadFeature.dsc | 42 +++++++++---------- .../PlatformPayloadPkg/PlatformPayloadPkg.dsc | 26 +++++++++++- 2 files changed, 46 insertions(+), 22 deletions(-) diff --git a/Features/Intel/PlatformPayloadPkg/Include/PlatformPayloadFeatu= re.dsc b/Features/Intel/PlatformPayloadPkg/Include/PlatformPayloadFeature.d= sc index 3003c563c9..bc776659b6 100644 --- a/Features/Intel/PlatformPayloadPkg/Include/PlatformPayloadFeature.dsc +++ b/Features/Intel/PlatformPayloadPkg/Include/PlatformPayloadFeature.d +++ sc @@ -19,7 +19,9 @@ !error "DXE_ARCH must be specified to build this feature!" !endif =20 - DEFINE SMM_VARIABLE =3D TRUE + !ifndef SMM_VARIABLE + DEFINE SMM_VARIABLE =3D TRUE + !endif =20 =20 ##########################################################################= ###### @@ -28,7 +30,7 @@ # ##########################################################################= ###### =20 -[PcdsPatchableInModule.X64] +[PcdsPatchableInModule] !if $(SMM_VARIABLE) =3D=3D TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0 @@ -45,24 +47,11 @@ # ##########################################################################= ###### =20 -[LibraryClasses] - !if $(SMM_VARIABLE) =3D=3D TRUE - PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf - PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf - # (Optional for variable modules debug output - PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib= .inf - DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Bas= eDebugPrintErrorLevelLib.inf - PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf - DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.= inf - !endif - [LibraryClasses.common.DXE_SMM_DRIVER,LibraryClasses.common.DXE_RUNTIME_DR= IVER] !if $(SMM_VARIABLE) =3D=3D TRUE SpiFlashLib|PlatformPayloadPkg/Library/SpiFlashLib/SpiFlashLib.inf FlashDeviceLib|PlatformPayloadPkg/Library/FlashDeviceLib/FlashDeviceLi= b.inf DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf - HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf - TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf !endif =20 ##########################################################################= ###### @@ -90,13 +79,20 @@ # SMM Variable Support # !if $(SMM_VARIABLE) =3D=3D TRUE - PlatformPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf - PlatformPayloadPkg/Fvb/FvbSmm.inf { - - NULL|PlatformPayloadPkg/Library/PcdInitLib/PcdInitLib.inf - } + PlatformPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.inf { + + PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHoo= kLib.inf + } + + PlatformPayloadPkg/Fvb/FvbSmm.inf { + + PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHoo= kLib.inf + NULL|PlatformPayloadPkg/Library/PcdInitLib/PcdInitLib.inf + } + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { + =20 + PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib + .inf NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf NULL|MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiLib.inf NULL|MdeModulePkg/Library/VarCheckPcdLib/VarCheckPcdLib.inf @@ -106,7 +102,11 @@ =20 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf= { + =20 + PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHookLib + .inf NULL|PlatformPayloadPkg/Library/PcdInitLib/PcdInitLib.inf } - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf { + + PlatformHookLib|UefiPayloadPkg/Library/PlatformHookLib/PlatformHoo= kLib.inf + } !endif diff --git a/Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dsc b/Fea= tures/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dsc index adf028c511..702523a73f 100644 --- a/Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dsc +++ b/Features/Intel/PlatformPayloadPkg/PlatformPayloadPkg.dsc @@ -27,6 +27,10 @@ PCD_DYNAMIC_AS_DYNAMICEX =3D TRUE DXE_ARCH =3D X64 =20 + !ifndef SMM_VARIABLE + DEFINE SMM_VARIABLE =3D TRUE + !endif + [Packages] MinPlatformPkg/MinPlatformPkg.dec =20 @@ -55,7 +59,7 @@ gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable = |FALSE gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable = |FALSE =20 -[PcdsPatchableInModule.X64] +[PcdsPatchableInModule] gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F !if $(SOURCE_DEBUG_ENABLE) @@ -90,6 +94,26 @@ !include MinPlatformPkg/Include/Dsc/CorePeiLib.dsc !include MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc =20 +# +# For standalone platform payload package build there are specific=20 +library requirements # + +[LibraryClasses] + !if $(SMM_VARIABLE) =3D=3D TRUE + PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf + PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf + # (Optional for variable modules debug output + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/Bas= eDebugPrintErrorLevelLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + =20 +DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.i +nf + !endif + +[LibraryClasses.common.DXE_SMM_DRIVER,LibraryClasses.common.DXE_RUNTIME +_DRIVER] + !if $(SMM_VARIABLE) =3D=3D TRUE + HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf + TimerLib|UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf + !endif + # # This package always builds the feature. # -- 2.36.1.windows.1