From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.11765.1594608685255956001 for ; Sun, 12 Jul 2020 19:51:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=vpWbp9ll; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: bob.c.feng@intel.com) IronPort-SDR: CxTc9Knr1ubgGpbyUauYOji6zcWJx+PKo9Y4usZlb0zOwpfqPpVbp4xC3a2o8kOzxjnBGSiyFf ZPymALpNC7lg== X-IronPort-AV: E=McAfee;i="6000,8403,9680"; a="210087427" X-IronPort-AV: E=Sophos;i="5.75,346,1589266800"; d="scan'208";a="210087427" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2020 19:51:24 -0700 IronPort-SDR: v1RqkVDIQS2BwCk3lribEtZeqD9jEfcnuVWjV4auNPeous7QWAgMzCvv9LX49lJPY/ftSTfMPx UaRYtmKiN3cw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,346,1589266800"; d="scan'208";a="484860538" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga006.fm.intel.com with ESMTP; 12 Jul 2020 19:51:23 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jul 2020 19:51:22 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 12 Jul 2020 19:51:22 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 12 Jul 2020 19:51:21 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jul 2020 19:51:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KXwD1aq3L5Cs7ABufYP6epaXvz42xqDz/71zNBDZUJqKkpFXCslktDzy8T9CLyPkMsl57U+xP31OltWkwZoBXoB3U6w2BK8OBVY0tYslrrV8u0QqNakSBBaTLUk6PrkICSxEvQWKQFud0BSgJnVrtcv67k25aFsLg4g4yVDmqLYDEgdfnEz/0Vl/789jf1jykYENyhgq0zmRdSqvLDDduy+KXL2A2GO/EyMrQoAW80mMLzhwyJFFfMXFjJN9swwpyrMOyPmTFtmr9eFuORWA1BdErcBFeQ09IrEs4wEzouDZgVwi8rqm/hSMvmprS3lBOrwNmahVZDL7DsgkSRhxAA== 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=R2M+GRDL42sD0ShIMRHmocX2caqKE9H8+1xEhAk1tjk=; b=AFU19hGqpLLk1LCvJH9bawY7pAw6kveQo9Epcme9dnBmSSVzN1EDW6GXm6Rkj2P9pZE4ityhgqrEVM6sY2zCyJpxQOUwrWR7OXuvyozfdXdfL42VWr0oXHLM/Em6jupJC6fD0ijEJHrXWJy8KZRYyxnMp+B2VSQB2srlPanUiFr+ElKtawhbc1RSomWLWRxiKtXdwnC69q374TV+qpGfsMqny2QBFV7r4JUCbhUXyln2LLhlcY1d2aCH8FVDM9LxxvCwTXusvaljTSth4zDIqH/usmcVpkAHv+jFDhcxv1TyoRj9bZ+yVkpHwEZ9FAfn8V4QsIhqvPoOqEG/x4+X/A== 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=R2M+GRDL42sD0ShIMRHmocX2caqKE9H8+1xEhAk1tjk=; b=vpWbp9llPfsvntFaP12acngI3FBed7ugGQX/7dcdt5+o5hhRomQHiyva07Uz3EkHhTATObLykosJSS8PsAEMinrtY41yzAoUqFE484EyifP0iARUtuZBBMw2WaVtwb2SoejOwk55EPdw0iDGkaML5PzGUUyldbGjimDyANoq9Qw= Received: from BN6PR11MB0068.namprd11.prod.outlook.com (2603:10b6:405:69::17) by BN6PR1101MB2099.namprd11.prod.outlook.com (2603:10b6:405:57::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Mon, 13 Jul 2020 02:51:20 +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.3174.023; Mon, 13 Jul 2020 02:51:20 +0000 From: "Bob Feng" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: "Gao, Liming" , Sean Brogan , Bret Barkelew , "Yao, Jiewen" Subject: Re: [Patch v3 01/16] BaseTools/Python: Allow HOST_APPLICATION to use NULL libraries Thread-Topic: [Patch v3 01/16] BaseTools/Python: Allow HOST_APPLICATION to use NULL libraries Thread-Index: AQHWVyhMcoR7nMSgpUWJyJyc7fWbU6kE0pUg Date: Mon, 13 Jul 2020 02:51:20 +0000 Message-ID: References: <20200711020904.24116-1-michael.d.kinney@intel.com> <20200711020904.24116-2-michael.d.kinney@intel.com> In-Reply-To: <20200711020904.24116-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: 31dd7d73-ddc1-44b5-19f9-08d826d79f8a x-ms-traffictypediagnostic: BN6PR1101MB2099: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lxA5KpFh0Sxn/2Jh4hJrN2wDAX6psXbYThDwkOyt7b9kmDKlUEf5Ke9nHFyaP8P1zNwKjRJKTINcwCYgz0iBzaOjR+rUbRV27CgGlIb9nNsxFaSrtNeWWZ3Gr9TWj70M3C62RiDIlv4MshwGO9LLPm4FFwfRKVRYlgqW8dsi26HaJ0ane00QmNTpUmphbFcvrLt6ZbmPqOSv17nKaSi34yBvffUzNaV777no7BZeI1gI8QM1QdT6DO6DGPjMvCebUvdZ++qReyAlsMAF0+49+40Xk6cPJsdX9PjRDiNl763QjF5QPL15QpuI5syh8tfinmErVwvwWCZ+Vc4CtJBBI1PbN70Z/zUTXLGej/0/E8oRBInfNhbQ37BVbgXdYKIll4X1BQW5DH665LWpjY8BWw== 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)(136003)(366004)(39860400002)(346002)(396003)(376002)(8676002)(83380400001)(5660300002)(478600001)(26005)(186003)(966005)(54906003)(110136005)(9686003)(33656002)(52536014)(55016002)(7696005)(71200400001)(8936002)(4326008)(107886003)(2906002)(64756008)(66476007)(66946007)(66556008)(316002)(66446008)(76116006)(86362001)(6506007)(53546011);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 3CJQcHSQ2liJWTbM4jDsThtyNLJV9eiqnm+4VLdcgiSp7qO/WMcvRgp3zBIemVPjTKhMDgfdu1gLGn/Vd1S8W9kEOSuReMeopeC4nEqF/oMkmNH7J6sMd55TbVLADaOHGxpNQbjAG/rps0ZtDa72AHa/yquRT+jchr5Qx057DHTMnrEOufojAShdzddQxN306dVpnsoozZthAlTSaBJd2x64ieZx/J+UqBtrOcz2jvSim4j1pCiH1JBBIOVJ576KpLdcocdMCAwadPEuNwdjVa7kGQn7wd8LrEFIYz8MwEesznPQyMrucy7qNJM1PgbojcldhnLH4RZjfjw7RN/QyBmZbQUjDygU01LgrErij5jyg4P6LUw7FRZlwBzLJqFlTGkpyeqLD5Cvsfv7D/9rj9dpU4KHZ1ZxGEavJtK3BTt7o9pnDjyKUoxz6BwSkvM3JesQ+kFm8EJXC5aWKcpGIkEa2PHdq5mbLgqqF5kmHOE5ERNHB0EeB0dFr6k7Lj7P 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: 31dd7d73-ddc1-44b5-19f9-08d826d79f8a X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 02:51:20.7618 (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: RCyikM47/2XD6HEF7sZjahgddFhRsalu4MDHMrxg+mPwLT1ESN3o3Gc1aAl4SPeSWXO4NzgY+OR96uDwq41Czw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2099 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 -----Original Message----- From: Kinney, Michael D =20 Sent: Saturday, July 11, 2020 10:09 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ;= Sean Brogan ; Bret Barkelew ; Yao, Jiewen Subject: [Patch v3 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 Reviewed-by: Bob Feng Reviewed-by: Sean Brogan --- 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