From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by ml01.01.org (Postfix) with ESMTP id 71B811A1DFB for ; Thu, 4 Aug 2016 19:45:18 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 04 Aug 2016 19:45:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,471,1464678000"; d="scan'208";a="860062805" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 04 Aug 2016 19:45:18 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 19:45:17 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 19:45:11 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.8]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.150]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 10:45:09 +0800 From: "Tian, Feng" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "Gao, Liming" CC: "Zeng, Star" , "Tian, Feng" Thread-Topic: [PATCH 08/17] MdeModulePkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPKZCLv7JFMmkyEie81SeASbKA5qU4w Date: Fri, 5 Aug 2016 02:45:09 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE538820BF1@SHSMSX101.ccr.corp.intel.com> References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-9-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-9-git-send-email-hao.a.wu@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 08/17] MdeModulePkg 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 02:45:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Feng Tian Thanks Feng -----Original Message----- From: Wu, Hao A=20 Sent: Friday, August 5, 2016 8:53 AM To: edk2-devel@lists.01.org; Gao, Liming Cc: Wu, Hao A ; Tian, Feng ; Zeng,= Star Subject: [PATCH 08/17] MdeModulePkg DSC: Add build option to disable deprec= ated APIs Add the following definition in the [BuildOptions] section in package DSC f= iles to disable APIs that are deprecated: [BuildOptions] *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES Cc: Feng Tian Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu --- MdeModulePkg/MdeModulePkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc = index ce29eb9..05120c7 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -460,3 +460,6 @@ [Components.X64] MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf =20 +[BuildOptions] + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES + -- 1.9.5.msysgit.0