From nobody Tue Nov 26 18:32:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+47179+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+47179+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1568276343; cv=none; d=zoho.com; s=zohoarc; b=C1Q0xfkfGQqbGnTayrfHP+aW46onoEgxDMtMg0iwEhniHYBGraGjtsxdaYqArRenR/85SibVrVgv/EBf73+oW/V6ZFKsHzerYI5LBR3xpIWs0KCe4FReoJsssDnzYOA8owl0LoMvdkhHTOiW6Kyhh89ovNMLVMpW/BCVrHjmL+Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568276343; h=Content-Type:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=fHDUNopcNH79bM1ydnU5wbgvMwVPucVM7XQ4nqbV60o=; b=DuCXAX/NJT0QZabR1CvPGv8+IIvh74WMxXQmrsnfitb2JKIrnnlBYw811cW3PZIMCSODHL3mjoFPR/5PQapTNLa2f7cspeOrAgQtOxNuICguv+vTC8jwU6QFlhdsJ2GBIru/7prL73LZXcesIN74CV6A3lFInsXg9IRCuoerf0M= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+47179+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1568276343455209.0306066979706; Thu, 12 Sep 2019 01:19:03 -0700 (PDT) Return-Path: X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by groups.io with SMTP; Thu, 12 Sep 2019 01:19:02 -0700 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Sep 2019 01:19:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,489,1559545200"; d="dat'59?scan'59,208,59";a="360389397" X-Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 12 Sep 2019 01:19:00 -0700 X-Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Sep 2019 01:19:00 -0700 X-Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 12 Sep 2019 01:19:00 -0700 X-Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 12 Sep 2019 01:18:59 -0700 X-Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.86]) with mapi id 14.03.0439.000; Thu, 12 Sep 2019 16:18:58 +0800 From: "Fan, ZhijuX" To: "devel@edk2.groups.io" CC: "Gao, Liming" , "Feng, Bob C" Subject: [edk2-devel] [PATCH] BaseTools:Replace PlatformInfo with PlatformAutoGen for Moudle Thread-Topic: [PATCH] BaseTools:Replace PlatformInfo with PlatformAutoGen for Moudle Thread-Index: AdVpQrhl8I7DllZFRPOT5J02UfTPfw== Date: Thu, 12 Sep 2019 08:18:58 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhijux.fan@intel.com Content-Type: multipart/mixed; boundary="_000_FAD0D7E0AE0FA54D987F6E72435CAFD50AFBCBE8SHSMSX101ccrcor_" Content-Language: en-US DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1568276342; bh=gj7t8hoPB4s1SXJ/IIGXiAvIH5GYXnGr8nn1QwksX/M=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=w/7z8Hc0kxQrtRI3gya1iO7Bqw4wLCUy/Z44Y13mweHoiEBzy8RabGWNNWnP7+D8HYx XMQwL2CEut7iA/kGOlc0+nKnkV49lXr37CSRdYodOHvkOWjNJ3oFQaiRvFrFfVzaQvvvX XVVxGVu6iqoIS9qVy7N/Hu4t2RARqQFHzB4= X-Zoho-Virus-Status: 1 X-ZohoMail-DKIM: pass (identity @groups.io) --_000_FAD0D7E0AE0FA54D987F6E72435CAFD50AFBCBE8SHSMSX101ccrcor_ Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2188 build -p MdeModulePkg\MdeModulePkg.dsc -a IA32 -m MdeModulePkg\Universal\PCD\Pei\Pcd.inf Error: AttributeError: 'PlatformInfo' object has no attribute 'DynamicPcdList' The DSC data object used to build a separate module today=20 is PlatformInfo rather than PlatformAutoGen 'PlatformAutoGen' object has attribute 'DynamicPcdList' This patch is going to fixed this issue Cc: Liming Gao Cc: Bob Feng Signed-off-by: Zhiju.Fan Reviewed-by: Bob Feng --- BaseTools/Source/Python/build/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Pyth= on/build/build.py index e81d3d6486..e845c139c9 100755 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1860,6 +1860,9 @@ class Build(): Ma =3D ModuleAutoGen(Wa, Module, BuildTarget, = ToolChain, Arch, self.PlatformFile,Pa.DataPipe) if Ma is None: continue + if Ma.PcdIsDriver: + Ma.PlatformInfo =3D Pa + Ma.Workspace =3D Wa MaList.append(Ma) =20 if GlobalData.gBinCacheSource and self.Target = in [None, "", "all"]: --=20 2.14.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#47179): https://edk2.groups.io/g/devel/message/47179 Mute This Topic: https://groups.io/mt/34112948/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_FAD0D7E0AE0FA54D987F6E72435CAFD50AFBCBE8SHSMSX101ccrcor_ Content-Disposition: attachment; filename="winmail.dat" Content-Transfer-Encoding: base64 Content-Type: application/ms-tnef; name="winmail.dat" eJ8+IlksAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEJgAEAIQAAAEQ3ODNEMTI3 OTdFNDAwNDFBMURGOTc2QkUyM0M4RDg1ACwHAQ2ABAACAAAAAgACAAEFgAMADgAAAOMHCQAMAAgA EgA6AAQAVwEBIIADAA4AAADjBwkADAAIABIAOgAEAFcBAQiABwAYAAAASVBNLk1pY3Jvc29mdCBN YWlsLk5vdGUAMQgBBIABAEcAAABbUEFUQ0hdIEJhc2VUb29sczpSZXBsYWNlIFBsYXRmb3JtSW5m byB3aXRoIFBs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