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 CB4301A1DFB for ; Thu, 4 Aug 2016 22:32:27 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 04 Aug 2016 22:32:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,472,1464678000"; d="scan'208";a="1035506449" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 04 Aug 2016 22:32:27 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 22:32:27 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 22:32:27 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 13:32:25 +0800 From: "Wu, Jiaxin" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "Gao, Liming" CC: "Fu, Siyuan" Thread-Topic: [PATCH 10/17] NetworkPkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPMeNtgPSK3BES1PfzOudB45KA5133A Date: Fri, 5 Aug 2016 05:32:24 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B7274137C4B00@SHSMSX103.ccr.corp.intel.com> References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-11-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-11-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 10/17] NetworkPkg 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: Fri, 05 Aug 2016 05:32:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-By: Wu Jiaxin Best Regards! Jiaxin > -----Original Message----- > From: Wu, Hao A > Sent: Friday, August 5, 2016 8:53 AM > To: edk2-devel@lists.01.org; Gao, Liming > Cc: Wu, Hao A ; Fu, Siyuan ; > Wu, Jiaxin > Subject: [PATCH 10/17] NetworkPkg 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: Siyuan Fu > Cc: Jiaxin Wu > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hao Wu > --- > NetworkPkg/NetworkPkg.dsc | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc > index 3c809d5..1ef353e 100644 > --- a/NetworkPkg/NetworkPkg.dsc > +++ b/NetworkPkg/NetworkPkg.dsc > @@ -123,3 +123,6 @@ > NetworkPkg/IScsiDxe/IScsiDxe.inf > NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf > NetworkPkg/Application/Ping6/Ping6.inf > + > +[BuildOptions] > + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES > -- > 1.9.5.msysgit.0