From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CD35D2095B9D8 for ; Tue, 22 Aug 2017 19:44:58 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Aug 2017 19:47:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,415,1498546800"; d="scan'208";a="143499275" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 22 Aug 2017 19:47:31 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 22 Aug 2017 19:47:31 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 22 Aug 2017 19:47:30 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.183]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.135]) with mapi id 14.03.0319.002; Wed, 23 Aug 2017 10:47:29 +0800 From: "Gao, Liming" To: Laszlo Ersek , "Frank.Orr@dell.com" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] FeatureFlagExpression Thread-Index: AdMbnVUVzr2cr6NsTmiFBBiDHrKof///g0UA//9McCA= Date: Wed, 23 Aug 2017 02:47:28 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D77483A@shsmsx102.ccr.corp.intel.com> References: <12eaddeb-bfc8-6cf2-fd52-0d377be5e776@redhat.com> In-Reply-To: <12eaddeb-bfc8-6cf2-fd52-0d377be5e776@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: FeatureFlagExpression X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 02:44:59 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Frank: This is unsupported feature. Now, FeatureFlagExpression is ignored.=20 Thanks Liming >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Laszlo Ersek >Sent: Wednesday, August 23, 2017 7:55 AM >To: Frank.Orr@dell.com; edk2-devel@lists.01.org >Subject: Re: [edk2] FeatureFlagExpression > >On 08/23/17 01:21, Frank.Orr@dell.com wrote: >> Dell - Internal Use - Confidential >> >> I'm trying to use this feature as described in various edk2 documents w= ith >zero success. >> For example, in the INF spec 1.25, the following is defined for the prot= ocols >section : >> >> >> >> The formats for entries in this section is: >> >> gEfiProtocolCName [ | FeatureFlagExpression] ## Usage comment >> >> When a FeatureFlagExpression is present, if the expression evaluates to >TRUE, then the Protocal entry is valid. If the expression evaluates to FAL= SE, >then the EDK II build tools must ignore the entry. >> >> The following is an example of the [Protocols] section. >> >> [Protocols] >> >> gEfiDecompressProtocolGuid >> >> gEfiLoadFileProtocolGuid >> >> >> Does anyone have any examples showing the use of a >FeatureFlagExpression ? > >See e.g. "MdePkg/Library/UefiLib/UefiLib.inf". > >Thanks >Laszlo >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel