From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.4967.1594295094967464250 for ; Thu, 09 Jul 2020 04:44:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Cj7svQKH; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: bob.c.feng@intel.com) IronPort-SDR: fYVFx9JUrpZ4zHUNUr8I3Bw9AVy3Df/hZJ7IKkTq4LWJo0x4Z+ULWZ9FnIszcnWiQI+UOUT48L HKZYiJ7ENWdA== X-IronPort-AV: E=McAfee;i="6000,8403,9676"; a="128047081" X-IronPort-AV: E=Sophos;i="5.75,331,1589266800"; d="scan'208";a="128047081" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 04:44:54 -0700 IronPort-SDR: PR7G74Grh4oZgfYRERiwPnr3NIPDpzWvgbmb+33+UxQIHKcPRjbX5nc24q3uYGroZe+4w98buL pymUU1hu+GEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,331,1589266800"; d="scan'208";a="284122959" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga006.jf.intel.com with ESMTP; 09 Jul 2020 04:44:53 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jul 2020 04:44:53 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.44) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jul 2020 04:44:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nETkhUXvoUfBmLQ70mwvoU1L18xLHzab0nhSEzGHgSpSIIvbZWhb9iytagKp/+2s8XwVXB3hVgLhLjayymUUR/YCCoDTBFV5wdNa2zBYBUPDECaDanYrYfii55oUwVnk9L4CNw0Fw8aptw+0F7Iz4/sCrrKO2jutPzM+YD+bm/mNmlmKrL0CMSKnvhONMfqKNvRi73n0wtWzzgJ+TtmcqriX5dLeO68948vVjfnFt6ZCQthpIRiwum49d5vZcF2+x91UM8Frt5XCBUG2dckXGm/HSueDNBp7m5NPoWznfAhEkROxxZNImRelzkrZWeMWicY1UiXCkPNGjuQtlzM0dg== 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-SenderADCheck; bh=gMm6ubpEMU7RrpSSEcBAk2/Nwv0jWsO2jPKcxedWpWE=; b=BtMg/wuDThfcuf9VWnSEly4Q4ondgVw8vPl38Gg5UkNiVcLc8n9iq5BHda8lka2mbc97EaPu7ViC5LaFnlz/fbl2jRS9L50Y45LEqANsGWq6VNvdj3J7oiHYeTXs4HQdMvres7BbGPSk/COXbdIowQFhynyYiY9ime7Yk2ayWK8p4yvwb+5eGKVBVm4QnHdZllnvZL2Wq3Too3/XQgVeoTEjGcDblcZ+eWosa4m1zoaIf8QVPgVsmrDvMpIMafuTGtgYmyF5G9+hFuzfGLlrwu3FdVLY9TpDJ3+15Nyse8j06W1A0TUAGpYbBOVmn+QK1FCcbznrQh02DkX3Q1KBgQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gMm6ubpEMU7RrpSSEcBAk2/Nwv0jWsO2jPKcxedWpWE=; b=Cj7svQKHwz74idKUw7Tg6YAlVZ6aUy2BgqE79x5KK7QBgcDQsAiK6ZMAiJdkYJ17iYtQqmphK7yrToWNGl198ZydPAoiDOX+gbaCJR+cxmUpjVQ3RVNt2Nrkm6k6I26NT5u1zL/XGYVJ9NfC0Un8G7Q7TziEyGy9571Eqs7DMAI= Received: from BN6PR11MB0068.namprd11.prod.outlook.com (2603:10b6:405:69::17) by BN6PR1101MB2097.namprd11.prod.outlook.com (2603:10b6:405:50::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Thu, 9 Jul 2020 11:44:52 +0000 Received: from BN6PR11MB0068.namprd11.prod.outlook.com ([fe80::6870:82d3:5bde:4153]) by BN6PR11MB0068.namprd11.prod.outlook.com ([fe80::6870:82d3:5bde:4153%6]) with mapi id 15.20.3153.031; Thu, 9 Jul 2020 11:44:51 +0000 From: "Bob Feng" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: "Gao, Liming" , Sean Brogan , Bret Barkelew , "Yao, Jiewen" Subject: Re: [Patch v2 01/16] BaseTools/Python: Allow HOST_APPLICATION to use NULL libraries Thread-Topic: [Patch v2 01/16] BaseTools/Python: Allow HOST_APPLICATION to use NULL libraries Thread-Index: AQHWVaY5qbb3+Q6D60e7dfVQZMXl+qj/IUog Date: Thu, 9 Jul 2020 11:44:51 +0000 Message-ID: References: <20200709040521.3748-1-michael.d.kinney@intel.com> <20200709040521.3748-2-michael.d.kinney@intel.com> In-Reply-To: <20200709040521.3748-2-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ebfd27b6-233d-4112-2aee-08d823fd7ded x-ms-traffictypediagnostic: BN6PR1101MB2097: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ww+7u7jqvYUyckpJzXE0hKmXT4V2DJ9XCsku2uh0HOwO1YIA7sdRuQyjsQS2X82tlm5BU1byWqgDV2BEZTV0gYISH9CbGgxmCk3jdHvk46nwIhkeTs6slEW6w7nEmQaQemJDaJSnjgk+gcmmZIcF+L52l7Dd5kGWBX8nHzjJDiQe5e5miLc8XSBbr/YE1CVjvXh3uWJ5vWjhI41EIRvGQdc8lxI/s/6SWqalopx61g1gXnhGpd6/sPENqlIGtaTNW47FZRak5I3dYje3BmPrOYmDzBpc5IuwFlDGKnuDtTGJoJXUCLO5ECZwPLcfCS2ja4O8Wm7byWOhLciEJhcPgp9TogdYNIllUrdvPXfabAe/hsRnQn2X0ZWq0TxLkgLA1ELFg0zfrow5MrddIrYlmQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN6PR11MB0068.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(136003)(346002)(396003)(366004)(376002)(55016002)(186003)(9686003)(478600001)(66446008)(64756008)(26005)(66556008)(83380400001)(8936002)(66476007)(71200400001)(33656002)(8676002)(107886003)(4326008)(2906002)(86362001)(110136005)(52536014)(7696005)(966005)(54906003)(5660300002)(66946007)(76116006)(6506007)(53546011)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: ZmjvNJdv9EbxKjih8/lH29JVoqBE7kZjRAiUpkLxhdKLidloEechyE+wuD2aDFVjM4eB1fWGkiYz8AK91W+D8t3SFduCKRLZjwJiQp29CphWAl4LCz6wGgsNnsfXYbS3XnOk15Wt2PsthY+pMVoNpfYoH8IUjE5DYg19fQY02CcdZExzZcT15klDstydhTmGV6bN1Hi5CDkyO9oB0Z6VbT0gFtaetGCFlLemxDINGnlPccuDfCMXevwD1nfKheYUGcO/NUV+7tOk2HkSL9eVyjWe0AYYTnU/m4GpAgF+rTXvJMTkyOBY8cKtJPOL77npwQhErmpTnEG02tuIsacflAdEA6uQC3LXQ58m6gZ2uZHMdCCTIofjWNcYk6MvxFnNb5KL6pn7y7IHBsOd8JNFmJoqpJn5c/OV3sEjOgh2VpW1EjzzqKOTUc+BTKo51KDTxQBUuGUcAd7xwrn7mzaxeTuK3ENvEogoBCw++mL7FIO7X49eSQDKF6pdMArW+0YI MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB0068.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebfd27b6-233d-4112-2aee-08d823fd7ded X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2020 11:44:51.6839 (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: Go8Ny5BIKG/qfS3CRaA4G3wPz0TA4AbpcL8ZG7u3sZ4sl7FDiJ12pWKKK/Caz4xbuxaOgJcb104hTQNQwSWkVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2097 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng =20 -----Original Message----- From: Kinney, Michael D =20 Sent: Thursday, July 9, 2020 12:05 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ;= Sean Brogan ; Bret Barkelew ; Yao, Jiewen Subject: [Patch v2 01/16] BaseTools/Python: Allow HOST_APPLICATION to use N= ULL libraries REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2797 Update HOST_APPLICATION module type to use NULL library instances. Cc: Bob Feng Cc: Liming Gao Cc: Sean Brogan Cc: Bret Barkelew Cc: Jiewen Yao Signed-off-by: Michael D Kinney --- BaseTools/Source/Python/Workspace/WorkspaceCommon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py b/BaseToo= ls/Source/Python/Workspace/WorkspaceCommon.py index 913e710fd9..53027a0e30 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py +++ b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py @@ -1,7 +1,7 @@ ## @file # Common routines used by workspace # -# Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2012 - 2020, Intel Corporation. All rights=20 +reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # =20 @@ -100,7 +100,7 @@ def GetModuleLibInstances(Module, Platform, BuildDataba= se, Arch, Target, Toolcha # If a module has a MODULE_TYPE of USER_DEFINED, # do not link in NULL library class instances from the global [Library= Classes.*] sections. # - if Module.ModuleType !=3D SUP_MODULE_USER_DEFINED and Module.ModuleTyp= e !=3D SUP_MODULE_HOST_APPLICATION: + if Module.ModuleType !=3D SUP_MODULE_USER_DEFINED: for LibraryClass in Platform.LibraryClasses.GetKeys(): if LibraryClass.startswith("NULL") and Platform.LibraryClasses= [LibraryClass, Module.ModuleType]: Module.LibraryClasses[LibraryClass] =3D Platform.LibraryCl= asses[LibraryClass, Module.ModuleType] -- 2.21.0.windows.1