From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: liming.gao@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Thu, 11 Apr 2019 06:44:14 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2019 06:44:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,337,1549958400"; d="scan'208";a="335850315" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 11 Apr 2019 06:44:13 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 11 Apr 2019 06:44:12 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.92]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.149]) with mapi id 14.03.0415.000; Thu, 11 Apr 2019 21:44:11 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "rebecca@bluestop.org" , "Zhu, Yonghong" Subject: Re: [edk2-devel] [PATCH] BaseTools: support arm64 as a platform name in addition to aarch64 Thread-Topic: [edk2-devel] [PATCH] BaseTools: support arm64 as a platform name in addition to aarch64 Thread-Index: AQHU8BUPl/X6MuNhPUeVBFnyPoJGhaY2+Rlw Date: Thu, 11 Apr 2019 13:44:11 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E422ACD@SHSMSX104.ccr.corp.intel.com> References: <20190411031653.38092-1-rebecca@bluestop.org> In-Reply-To: <20190411031653.38092-1-rebecca@bluestop.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTljNmI5MjMtMDNmNy00YWUyLTg3ODAtNzAxNzkzZDA5ZWJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicDNsSzdHeWFxdmFqTm04TllieUpMSkZGMVwvVmNhd3JOUGx5ZCtzM2ZzYXRpbzFQekdFckJtNXlqU2k2bGpWM04ifQ== dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Reb= ecca Cran via Groups.Io > Sent: Thursday, April 11, 2019 11:17 AM > To: devel@edk2.groups.io; Gao, Liming ; Zhu, Yongho= ng > Cc: Rebecca Cran > Subject: [edk2-devel] [PATCH] BaseTools: support arm64 as a platform name= in addition to aarch64 >=20 > Some systems such as FreeBSD identify the platform as 'arm64' > and not 'aarch64' as Linux does. >=20 > Signed-off-by: Rebecca Cran > --- > BaseTools/Source/C/GNUmakefile | 5 +++-- > BaseTools/Source/C/Makefiles/header.makefile | 5 +++-- > 2 files changed, 6 insertions(+), 4 deletions(-) >=20 > diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakef= ile > index 1d048c4cc6..37bcce519c 100644 > --- a/BaseTools/Source/C/GNUmakefile > +++ b/BaseTools/Source/C/GNUmakefile > @@ -21,8 +21,9 @@ ifndef HOST_ARCH > endif > ifneq (,$(findstring aarch64,$(uname_m))) > HOST_ARCH=3DAARCH64 > - endif > - ifneq (,$(findstring arm,$(uname_m))) > + else ifneq (,$(findstring arm64,$(uname_m))) > + HOST_ARCH=3DAARCH64 > + else ifneq (,$(findstring arm,$(uname_m))) > HOST_ARCH=3DARM > endif > ifndef HOST_ARCH > diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Sou= rce/C/Makefiles/header.makefile > index 90fb3453ad..d76b8283dd 100644 > --- a/BaseTools/Source/C/Makefiles/header.makefile > +++ b/BaseTools/Source/C/Makefiles/header.makefile > @@ -23,8 +23,9 @@ ifndef HOST_ARCH > endif > ifneq (,$(findstring aarch64,$(uname_m))) > HOST_ARCH=3DAARCH64 > - endif > - ifneq (,$(findstring arm,$(uname_m))) > + else ifneq (,$(findstring arm64,$(uname_m))) > + HOST_ARCH=3DAARCH64 > + else ifneq (,$(findstring arm,$(uname_m))) > HOST_ARCH=3DARM > endif > ifndef HOST_ARCH > -- > 2.20.1 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. >=20 > View/Reply Online (#38845): https://edk2.groups.io/g/devel/message/38845 > Mute This Topic: https://groups.io/mt/31026994/1759384 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [liming.gao@intel.com] > -=3D-=3D-=3D-=3D-=3D-=3D