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 87AE41A1DFB for ; Thu, 4 Aug 2016 22:20:49 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 04 Aug 2016 22:20:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,472,1464678000"; d="scan'208";a="1030133078" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 04 Aug 2016 22:20:44 -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:20:44 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) 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:20:44 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.8]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 13:20:42 +0800 From: "Tian, Feng" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "Gao, Liming" CC: "Wu, Hao A" , "Fan, Jeff" , "Tian, Feng" Thread-Topic: [edk2] [PATCH 16/17] UefiCpuPkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPfi0/e64aXOEayQek0SFFX26A51L6A Date: Fri, 5 Aug 2016 05:20:41 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE538820C42@SHSMSX101.ccr.corp.intel.com> References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-17-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-17-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 16/17] UefiCpuPkg 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:20:49 -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: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Hao = Wu Sent: Friday, August 5, 2016 8:53 AM To: edk2-devel@lists.01.org; Gao, Liming Cc: Wu, Hao A ; Fan, Jeff Subject: [edk2] [PATCH 16/17] UefiCpuPkg DSC: Add build option to disable d= eprecated 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: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu --- UefiCpuPkg/UefiCpuPkg.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index b3= 5f41b..bbd3880 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -124,3 +124,6 @@ UefiCpuPkg/SecCore/SecCore.inf UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf + +[BuildOptions] + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES -- 1.9.5.msysgit.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel