From nobody Sat Nov 2 16:36:22 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 148594257279421.547458065347655; Wed, 1 Feb 2017 01:49:32 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 29F9981FA6; Wed, 1 Feb 2017 01:49:30 -0800 (PST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7659181F99 for ; Wed, 1 Feb 2017 01:49:29 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP; 01 Feb 2017 01:49:29 -0800 Received: from mdkinney-mobl.amr.corp.intel.com ([10.254.89.179]) by fmsmga005.fm.intel.com with ESMTP; 01 Feb 2017 01:49:29 -0800 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,319,1477983600"; d="scan'208";a="59876486" From: Michael Kinney To: edk2-devel@lists.01.org Date: Wed, 1 Feb 2017 01:49:07 -0800 Message-Id: <1485942552-47388-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> References: <1485942552-47388-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2] [staging/edk2-test PATCH V2 1/6] edk2-test: Update Readme.md 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: , Cc: Andrew Fish MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" * Add Supreeth Venkatesh to list of branch owners * Clean up environment variable for Windows builds * Add Linux Build Instructions Cc: Andrew Fish Cc: Supreeth Venkatesh Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Reviewed-by: Supreeth Venkatesh Tested-by: Supreeth Venkatesh --- Readme.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 4ca0ffa..c5cf1ff 100644 --- a/Readme.md +++ b/Readme.md @@ -3,8 +3,9 @@ edk2-staging branch for a test harness, test case SDK, and test cases for = the edk2 repository and platform firmware that is based on the edk2 repository. =20 -## **edk2-stagaing branch owners** +## **edk2-staging branch owners** * Michael Kinney +* Supreeth Venkatesh =20 ## **Features** * Test harness that runs from the UEFI Shell @@ -76,13 +77,13 @@ build output directory. =20 ```cmd git clone https://github.com/tianocore/edk2.git -git clone https://github.com/tianocore/edk2-staging.git --brach edk2-test +git clone https://github.com/tianocore/edk2-staging.git --branch edk2-test =20 set WORKSPACE=3D%CD% set EDK_TOOLS_PATH=3D%WORKSPACE%\edk2\BaseTools +set EDK_TOOLS_BIN=3D%EDK_TOOLS_PATH%\BinWrappers\WindowsLike set PACKAGES_PATH=3D%WORKSPACE%\edk2;%WORKSPACE%\edk2-staging -set EDK_TOOLS_BIN=3D%WORKSPACE%\BaseTools\BinWrappers\WindowsLike -path=3D%path%;%WORKSPACE%\edk2\BaseTools\Bin\Win32 +path=3D%path%;%EDK_TOOLS_PATH%\Bin\Win32 =20 cd edk2 edkSetup.bat @@ -93,6 +94,49 @@ build -a IA32 -a X64 -t VS2015x86 -p TestCasePkg/TestCas= ePkg.dsc =20 ## **Linux Build Instructions** =20 +### Pre-requisites + +* GIT client: Available from https://git-scm.com/downloads +* GCC 4.9 compiler or XCODE compiler + +Create a new directory for an EDK II WORKSPACE. + +The code block below shows the GIT clone operations required to pull the e= dk2 +repository, and the edk2-test branch from the edk2-staging repository. + +Next it sets environment variables that must be set before running +```edksetup.bat```. Since content is being pulled from multiple repositori= es, +the EDK II [Multiple Workspace]( +https://github.com/tianocore/tianocore.github.io/wiki/Multiple_Workspace) +feature is used. + +Next, the ```edksetup.bat``` file is run to complete the initialization of= an +EDK II build environment. Two example build commands are shown. The firs= t one +in ```TestFrameworkPkg/TestFrameworkPkg.dsc``` builds a test harness and c= reates +an installer in the build output directory. The second one in +```TestCasePkg/TestCasePkg.dsc``` builds a sample test case using a test l= ibrary +from the ```TestFrameworkPkg``` and adds the test case to the installer in= the +build output directory. + +```cmd +git clone https://github.com/tianocore/edk2.git +git clone https://github.com/tianocore/edk2-staging.git --branch edk2-test + +export WORKSPACE=3D`pwd` +export EDK_TOOLS_PATH=3D"$WORKSPACE/edk2/BaseTools" +export PACKAGES_PATH=3D"$WORKSPACE/edk2:$WORKSPACE/edk2-staging" +export EDK_TOOLS_BIN=3D"$WORKSPACE/edk2/BaseTools/BinWrappers/PosixLike" +export CONF_PATH=3D"$WORKSPACE/edk2/Conf" +export PATH=3D"$PATH:$EDK_TOOLS_BIN" + +cd edk2 +make -C BaseTools +. edksetup.sh + +build -a IA32 -a X64 -t GCC49 -p TestFrameworkPkg/TestFrameworkPkg.dsc +build -a IA32 -a X64 -t GCC49 -p TestCasePkg/TestCasePkg.dsc +``` + ## **Installation Instructions** =20 * Copy the Build/SctPackage directory to media for the target platform --=20 2.6.3.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel