From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by ml01.01.org (Postfix) with ESMTP id 4FCDC1A1E13 for ; Sun, 7 Aug 2016 19:36:22 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 07 Aug 2016 19:36:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,487,1464678000"; d="scan'208";a="152118393" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 07 Aug 2016 19:36:21 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 7 Aug 2016 19:36:21 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 7 Aug 2016 19:36:21 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Mon, 8 Aug 2016 10:35:11 +0800 From: "Gao, Liming" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Fan, Jeff" Thread-Topic: [PATCH 03/17] IntelFrameworkPkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPFDxyYd9i+WESjbieS8E9d46A+XYtA Date: Mon, 8 Aug 2016 02:35:10 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A1155E60A0@shsmsx102.ccr.corp.intel.com> References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-4-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-4-git-send-email-hao.a.wu@intel.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: [PATCH 03/17] IntelFrameworkPkg DSC: Add build option to disable deprecated APIs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 02:36:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Wu, Hao A > Sent: Friday, August 05, 2016 8:53 AM > To: edk2-devel@lists.01.org; Gao, Liming > Cc: Wu, Hao A ; Fan, Jeff > Subject: [PATCH 03/17] IntelFrameworkPkg DSC: Add build option to disable > deprecated APIs >=20 > Add the following definition in the [BuildOptions] section in package DSC > files to disable APIs that are deprecated: >=20 > [BuildOptions] > *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES >=20 > Cc: Jeff Fan > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hao Wu > --- > IntelFrameworkPkg/IntelFrameworkPkg.dsc | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/IntelFrameworkPkg/IntelFrameworkPkg.dsc > b/IntelFrameworkPkg/IntelFrameworkPkg.dsc > index afda3e7..2985d38 100644 > --- a/IntelFrameworkPkg/IntelFrameworkPkg.dsc > +++ b/IntelFrameworkPkg/IntelFrameworkPkg.dsc > @@ -70,3 +70,6 @@ >=20 > IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.in > f > IntelFrameworkPkg/Library/PeiHobLibFramework/PeiHobLibFramework.inf >=20 > +[BuildOptions] > + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES > + > -- > 1.9.5.msysgit.0