From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ml01.01.org (Postfix) with ESMTP id 3F07E1A1DFB for ; Thu, 4 Aug 2016 18:32:11 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 04 Aug 2016 18:32:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,471,1464678000"; d="scan'208";a="150895470" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 04 Aug 2016 18:32:10 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 18:32:10 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 18:32:10 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 09:32:08 +0800 From: "Ni, Ruiyu" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "Gao, Liming" CC: "Carsey, Jaben" Thread-Topic: [PATCH 14/17] ShellPkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPR+jGB/t1QU0eb9HG6jzBMB6A5lOwA Date: Fri, 5 Aug 2016 01:32:07 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D1ADB11A0@SHSMSX103.ccr.corp.intel.com> References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-15-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-15-git-send-email-hao.a.wu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzQ0NzUwMDQtNDc0Ni00MmM3LWJkNDItMjhhMzg1OTkzMmRhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im03QzR6ZEZheGcxSDVxZWF5cDZ3ajlKRWtGeW5uXC9NUERrd1MwODNEQ080PSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 14/17] ShellPkg 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 01:32:11 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni >-----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 ; Carsey, Jaben = ; Ni, Ruiyu >Subject: [PATCH 14/17] ShellPkg DSC: Add build option to disable deprecate= d APIs > >Add the following definition in the [BuildOptions] section in package DSC >files to disable APIs that are deprecated: > >[BuildOptions] > *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES > >Cc: Jaben Carsey >Cc: Ruiyu Ni >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Hao Wu >--- > ShellPkg/ShellPkg.dsc | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc >index 25c4fad..809bd42 100644 >--- a/ShellPkg/ShellPkg.dsc >+++ b/ShellPkg/ShellPkg.dsc >@@ -122,3 +122,5 @@ > !endif #$(NO_SHELL_PROFILES) > } > >+[BuildOptions] >+ *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES >-- >1.9.5.msysgit.0