From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: zailiang.sun@intel.com) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Wed, 10 Jul 2019 21:55:34 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 21:55:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,476,1557212400"; d="scan'208";a="249672865" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 10 Jul 2019 21:55:34 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 10 Jul 2019 21:55:34 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.232]) with mapi id 14.03.0439.000; Thu, 11 Jul 2019 12:55:32 +0800 From: "Sun, Zailiang" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: "Qian, Yi" , Gary Lin Subject: Re: [edk2-platforms Patch 27/28] Vlv2TbltDevicePkg: Only build capsules for X64 Thread-Topic: [edk2-platforms Patch 27/28] Vlv2TbltDevicePkg: Only build capsules for X64 Thread-Index: AQHVN1J+0r0FUZtdCk+ZeI4JT8jCEqbE2xNQ Date: Thu, 11 Jul 2019 04:55:32 +0000 Message-ID: <7CB7EF03E15B5D48981329A508747A9850C95EAB@SHSMSX104.ccr.corp.intel.com> References: <20190710190516.6012-1-michael.d.kinney@intel.com> <20190710190516.6012-28-michael.d.kinney@intel.com> In-Reply-To: <20190710190516.6012-28-michael.d.kinney@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 Return-Path: zailiang.sun@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-By: Zailiang Sun > -----Original Message----- > From: Kinney, Michael D > Sent: Thursday, July 11, 2019 3:05 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch 27/28] Vlv2TbltDevicePkg: Only build capsu= les > for X64 >=20 > Only build capsules for X64 builds. More changes are required to build I= A32 > capsules. >=20 > Cc: Zailiang Sun > Cc: Yi Qian > Cc: Gary Lin > Signed-off-by: Michael D Kinney > --- > Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat | 6 +++++- > Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh | 6 +++++- > 2 files changed, 10 insertions(+), 2 deletions(-) >=20 > diff --git a/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat > b/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat > index c39b8ccd62..99c1068663 100644 > --- a/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat > +++ b/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat > @@ -277,7 +277,11 @@ if %ERRORLEVEL% NEQ 0 goto BldFail ::echo FD > successfully updated with default Hii values. >=20 > @REM build capsule here > -call build -p %PLATFORM_PACKAGE%\PlatformCapsule.dsc > +if "%Arch%"=3D=3D"X64" ( > + echo Invoking EDK2 build for capsules... > + echo build -t %TOOL_CHAIN_TAG% -p > +%PLATFORM_PACKAGE%\PlatformCapsule.dsc > + call build -t %TOOL_CHAIN_TAG% -p > +%PLATFORM_PACKAGE%\PlatformCapsule.dsc > +) >=20 > goto Exit >=20 > diff --git a/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh > b/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh > index d32beb6a45..0d1ea60ac6 100755 > --- a/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh > +++ b/Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh > @@ -224,7 +224,11 @@ cp -f $BUILD_PATH/FV/VLV.fd > $BUILD_PATH/FV/Vlv.ROM >=20 > ##******************************************************** > ************** > ## Build Capsules >=20 > ##******************************************************** > ************** > -build -p $PLATFORM_PKG_PATH/PlatformCapsuleGcc.dsc > +if [ $Arch =3D=3D "X64" ]; then > + echo "Invoking EDK2 build for capsules..." > + echo build -t $TOOL_CHAIN_TAG -p > +$PLATFORM_PKG_PATH/PlatformCapsuleGcc.dsc > + build -t $TOOL_CHAIN_TAG -p > $PLATFORM_PKG_PATH/PlatformCapsuleGcc.dsc > +fi >=20 > echo > echo -------------------- The EDKII BIOS build has successfully complete= d. ------ > -------------- > -- > 2.21.0.windows.1