From nobody Mon May 6 12:45:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62604+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62604+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1594815633; cv=none; d=zohomail.com; s=zohoarc; b=L02BHj4mNAEDIfVtZm5LWG5q8hmwlJb3qQOVXsjnGs1W4ng4ibKnJDTEPK2ZwUuRJi7cfj/hxR7J9nfFRJ+qYQA0tKOVI1Q3ImrLSvwXN2OGcftkrxWkhJoLXX1gFrOBUpGa/SrXHYruLT3VItTGQ0jrsGPXJMhUUJuSsJnfqlY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594815633; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=8PCuVtfiiN5UJ25a7nLkwcjg5fiiR/HGz8cCqAdKSBY=; b=RsuYEEIEU3JGGPnmH6ZH+sT4DUm95FhEH5K7AE3BxRt2x/cRB55RyY7f7/XwylSNtKNCxCgQdyWfwsYmyqeVTLL0zXs8OU4sz8GRQo/WZ6UQzexQW8p50Kt0O4LYgEWrqFKEWVqVMybFPJdvzI4pU+XE9KN9BVprFAN4ZIl5sXg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62604+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594815633643710.3563897010878; Wed, 15 Jul 2020 05:20:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id vY0QYY1788612xudANbqkKgl; Wed, 15 Jul 2020 05:20:33 -0700 X-Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mx.groups.io with SMTP id smtpd.web10.5401.1594815632105524451 for ; Wed, 15 Jul 2020 05:20:32 -0700 X-Received: by mail-wr1-f67.google.com with SMTP id r12so2368854wrj.13 for ; Wed, 15 Jul 2020 05:20:31 -0700 (PDT) X-Gm-Message-State: G6zZl4j2hsmjNzH4jLc7Us5ox1787277AA= X-Google-Smtp-Source: ABdhPJyuvuAKwlD2+fKgv5pdASiCzSjiP2SGXXSiDV0eXkvWjL3ZG2UL8hdl9GtkQL+Nptbx4NsHRA== X-Received: by 2002:a5d:5686:: with SMTP id f6mr10945003wrv.15.1594815630312; Wed, 15 Jul 2020 05:20:30 -0700 (PDT) X-Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 26sm3078142wmj.25.2020.07.15.05.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 05:20:29 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Michael D Kinney Subject: [edk2-devel] [PATCH edk2-platforms 1/4] Readme.md: wrap long line Date: Wed, 15 Jul 2020 13:20:24 +0100 Message-Id: <20200715122027.970-2-leif@nuviainc.com> In-Reply-To: <20200715122027.970-1-leif@nuviainc.com> References: <20200715122027.970-1-leif@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,leif@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594815633; bh=qqDpPYMWrsriKgbNz2x696NwpoDxMCQIWSJC/tjONAQ=; h=Cc:Date:From:Reply-To:Subject:To; b=czkWPdj3kA/OwwuJPtny0KhZ1XJuVUkSp3j6Xu1+11BXaeojZJw4Hj/yn+P6jU+ETcA DS8KqVCuls3bjgJkutWVAElHLVpReF/tWKVG/MDsVOtzlS0OgW/1aRA/LX7H7vV4eLoRZ KvB3ti4KBI/qXDoM0iNgPI7w59pOG5IFHSs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The line describing how to set cross compiler prefix was way too long, wrap it to match the rest of the file. Signed-off-by: Leif Lindholm --- Readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index ea9492240adb..c5df5a15f53d 100644 --- a/Readme.md +++ b/Readme.md @@ -159,7 +159,8 @@ build command which toolchain to use. We do this by set= ting the environment variable `{TOOL_CHAIN_TAG}_{TARGET_ARCH}_PREFIX` - in the case above, **GCC5_AARCH64_PREFIX**. =20 -So, referring to the cross compiler toolchain table above, we should prepe= nd the `build` command line with `GCC5_AARCH64_PREFIX=3Daarch64-linux-gnu-`. +So, referring to the cross compiler toolchain table above, we should prepe= nd the +`build` command line with `GCC5_AARCH64_PREFIX=3Daarch64-linux-gnu-`. =20 ## Using uefi-tools helper scripts uefi-tools is a completely unofficial set of helper-scripts developed by L= inaro. --=20 2.20.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62604): https://edk2.groups.io/g/devel/message/62604 Mute This Topic: https://groups.io/mt/75518794/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 12:45:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62605+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62605+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1594815634; cv=none; d=zohomail.com; s=zohoarc; b=Jk/kwuPWzV1JN35J8zi4qD3X9Hx2EHrmbHO+9eF5LuYesY1ui8QP8arqIZUDcJRqdNjbgCzY1MADoqLv0fxAb688uk+hgcHTOvplBUvlgHCnV8IRirgpJmxRrs92KXJUtTyaX4a4oqrQ0wJSlVON2fcWpTs7FENk/TW7a6bFbe8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594815634; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=fiSJMmI3YSOd06sXKAae78oFqxdqGMzRWmfz8uE9rwo=; b=c8HP+Wlng8fDqSbZnrmu2LM4b1zKRv3VuzWw06ta1PjmRmfB4B3rKfj6bVz8O0Mi6pWpcrnyWAna21MyOESxfJr1684a0G+VyzsuM9kedw/79VHfXv8ZKcWA0pkKtUqHDHYTSU2Mp+3B9mTfKlzm5APWz2HjxK+LmrIky/GKtOg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62605+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594815634376289.3402462636818; Wed, 15 Jul 2020 05:20:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id NHMqYY1788612xPeXZ4SxRP6; Wed, 15 Jul 2020 05:20:34 -0700 X-Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mx.groups.io with SMTP id smtpd.web11.5501.1594815633348953487 for ; Wed, 15 Jul 2020 05:20:33 -0700 X-Received: by mail-wm1-f67.google.com with SMTP id q15so5390016wmj.2 for ; Wed, 15 Jul 2020 05:20:33 -0700 (PDT) X-Gm-Message-State: H2V8Mm67B0P3mLcXa57alQ95x1787277AA= X-Google-Smtp-Source: ABdhPJyAMQ5HJz4kh0sQ7Em2qyUhyiTAzhQrBsLj7P00mg1rhZge6SVtrICMIsDINtkw4RHXpkD4Tg== X-Received: by 2002:a1c:e910:: with SMTP id q16mr8452797wmc.188.1594815631216; Wed, 15 Jul 2020 05:20:31 -0700 (PDT) X-Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 26sm3078142wmj.25.2020.07.15.05.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 05:20:30 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Michael D Kinney Subject: [edk2-devel] [PATCH edk2-platforms 2/4] Readme.md: update build parallellism information Date: Wed, 15 Jul 2020 13:20:25 +0100 Message-Id: <20200715122027.970-3-leif@nuviainc.com> In-Reply-To: <20200715122027.970-1-leif@nuviainc.com> References: <20200715122027.970-1-leif@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,leif@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594815634; bh=K2WqPfEWbnj72hnSN+vr9yNUkqCyM+jhXFtz2nmGSVw=; h=Cc:Date:From:Reply-To:Subject:To; b=ceatZhmZTqMEPrKbrV6DT35gQ3W3q6YwnehABz/YenjNWuyxpZtKTRKiaZQ+9ynKH4t hrA6jjwnS6Yl+u/jNBOEJtJY0f09iTydo7pDNr1xBbIknf87i/onsZCG/XrzQT/sI/6hB diH+06l6ax5V7zwKRsJ/rQzffRbK7xcTEmI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BaseTools can now be built in parallel, so drop the statement that says it cannot, and add -j flag to example command line. Also, the `build` command now utilizes parallellism by default, so update text and examples to reflect this (and drop the examples for manually figuring out available core count). Signed-off-by: Leif Lindholm Reviewed-by: Bob Feng --- Readme.md | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/Readme.md b/Readme.md index c5df5a15f53d..e1350b456619 100644 --- a/Readme.md +++ b/Readme.md @@ -105,11 +105,7 @@ target-specific binutils. These are included with any = prepackaged GCC toolchain (This step _depends_ on **WORKSPACE** being set as per above.) 1. Build BaseTools =20 - `make -C edk2/BaseTools` - - (BaseTools can currently not be built in parallel, so do not specify an= y `-j` - option, either on the command line or in a **MAKEFLAGS** environment - variable.) + `make -C edk2/BaseTools -j` =20 ### Build options There are a number of options that can (or must) be specified at the point= of @@ -123,8 +119,9 @@ TARGET | `-b` | One of DEBUG, RELEAS= E or NOOPT. TARGET_ARCH | `-a` | Architecture to build for. TOOL_CHAIN_TAG | `-t` | Toolchain profile to use for building. =20 -There is also MAX_CONCURRENT_THREAD_NUMBER (`-n`), roughly equivalent to -`make -j`. +The `build` command will automatically determine the number of available c= pus +and enable parallell builds. If you wish to restrict the parallellism, the= `-n` +option specifies how many threads to use. =20 When specified on command line, `-b` can be repeated multiple times in ord= er to build multiple targets sequentially. @@ -133,21 +130,10 @@ After a successful build, the resulting images can be= found in `Build/{Platform Name}/{TARGET}_{TOOL_CHAIN_TAG}/FV`. =20 ### Build a platform -The main build process _can_ run in parallel - so figure out how many thre= ads we -have available. - -``` -$ getconf _NPROCESSORS_ONLN -8 -``` -OK, so we have 8 CPUs - let's tell the build to use a little more than tha= t: -``` -$ NUM_CPUS=3D$((`getconf _NPROCESSORS_ONLN` + 2)) -``` For the toolchain tag, use GCC5 for gcc version 5 or later, GCC4x for earlier versions, or CLANG35/CLANG38 as appropriate when building with cla= ng. ``` -$ build -n $NUM_CPUS -a AARCH64 -t GCC5 -p Platform/ARM/JunoPkg/ArmJuno.dsc +$ build -a AARCH64 -t GCC5 -p Platform/ARM/JunoPkg/ArmJuno.dsc ``` (Note that the description file gets resolved by the build command through searching in all locations specified in **PACKAGES_PATH**.) --=20 2.20.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62605): https://edk2.groups.io/g/devel/message/62605 Mute This Topic: https://groups.io/mt/75518795/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 12:45:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62606+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62606+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1594815635; cv=none; d=zohomail.com; s=zohoarc; b=lfT2D1kk1uDpblEDeeu+eh5Feqf7+DnENPDRDNMj9XcDi901EnSSPHSOTD5zQKNGlkxoNDmXTJAC1Sc8UeT4cEW32bF/+/c+GbC7uGZzv+wFR8mKm8f1XJFCWKBZyWEDGm1/rVoySvPlVA/eK6y9vAc1cBZsrOGdHdtT6ZAVaa4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594815635; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=VgPXZdhGAleUCcR+sIrl8ybxfThV2vsQ8dGMqtOOs9g=; b=FBmRbd5/H0N3f1XjbgzFigY17BbdiC8DX4g6C/puMzO5YkC1Mq0d3H+bSdBckrZsUU/H05XpZKBQHyagcqPo+K+jSJt4U7PiDAMTs5K07gdG8Lsnnk4g99msbxfSnY2d28PECCaNKfHMZc6hUSxunqjse1eXWVvM3QcZyutD+RQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62606+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594815635371224.87088081421177; Wed, 15 Jul 2020 05:20:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id BqqfYY1788612xoYbVN7oPI5; Wed, 15 Jul 2020 05:20:35 -0700 X-Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mx.groups.io with SMTP id smtpd.web10.5403.1594815634282167636 for ; Wed, 15 Jul 2020 05:20:34 -0700 X-Received: by mail-wr1-f66.google.com with SMTP id f18so2493120wrs.0 for ; Wed, 15 Jul 2020 05:20:34 -0700 (PDT) X-Gm-Message-State: tb5epJzcepamed78EfUxEiXAx1787277AA= X-Google-Smtp-Source: ABdhPJwnmTtg+KVzV4ApKJ1VpCVUB4eVU4a5aIXafTvn42j0XYSNC2HwcQgOmSMshgbX6PzabdGKiw== X-Received: by 2002:a05:6000:10c4:: with SMTP id b4mr10390211wrx.50.1594815632431; Wed, 15 Jul 2020 05:20:32 -0700 (PDT) X-Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 26sm3078142wmj.25.2020.07.15.05.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 05:20:31 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Michael D Kinney , Vin Xue Subject: [edk2-devel] [PATCH edk2-platforms 3/4] Readme.md: update ARM/AARCH64 cross-toolchain info Date: Wed, 15 Jul 2020 13:20:26 +0100 Message-Id: <20200715122027.970-4-leif@nuviainc.com> In-Reply-To: <20200715122027.970-1-leif@nuviainc.com> References: <20200715122027.970-1-leif@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,leif@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594815635; bh=o4ZspIdDfrQJbHfJ874+0cYCYdyUO5Pzmw6ZsRnaTsY=; h=Cc:Date:From:Reply-To:Subject:To; b=v2onljW5bW+yPdUgu/aeuRQJlU0KalQEomTRh8jF77cigpH10rvOLdxRAFpGGBDSb3q ydyfwFHS37/xp1xuFd+U/11oi/RyrK1cS2PrzT1rgKBKSKBXG1oQ2w9+Uo21HQAm+iU0S J213JKm/O7orchvVQLLLSuOuzBN2PJdBmU0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" In the past, Linaro released binary builds of GCC cross-toolchains for ARM and AARCH64, but this has since stopped, and up-to-date toolchains are now being released directly by ARM. Update cross compilation section of documentation to reflect this. Reported-by: Vin Xue Signed-off-by: Leif Lindholm --- Readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index e1350b456619..a800f86b84a9 100644 --- a/Readme.md +++ b/Readme.md @@ -56,11 +56,11 @@ X64 | x86_64-linux-gnu- \* i386, i486, i586 or i686 =20 ### GCC -Linaro provides GCC toolchains for -[aarch64-linux-gnu](https://releases.linaro.org/components/toolchain/binar= ies/latest/aarch64-linux-gnu/) -and [arm-linux-gnueabihf](https://releases.linaro.org/components/toolchain= /binaries/latest/arm-linux-gnueabihf/) -compiled to run on x86_64/i686 Linux and i686 Windows. Some Linux distribu= tions -provide their own packaged cross-toolchains. +ARM provides binary downloads of prebuilt GCC cross-toolchains for +[aarch64-linux-gnu and arm-linux-gnueabihf](https://developer.arm.com/tool= s-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/dow= nloads) +compiled to run on i686 Windows as well as x86_64 and aarch64 +(for arm-linux-gnueabihf) x86_64 Linux. +Some Linux distributions provide their own packaged cross-toolchains. =20 ### clang Clang does not require separate cross compilers, but it does need a --=20 2.20.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62606): https://edk2.groups.io/g/devel/message/62606 Mute This Topic: https://groups.io/mt/75518796/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Mon May 6 12:45:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62607+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62607+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1594815636; cv=none; d=zohomail.com; s=zohoarc; b=hGh8Vgk/SWDs2rEX9qIE41mpC5Pp1N759FdZPJpVY4qzrpGGZjtQv9FHTaZ4mjdxWPq9jnT6+7VrMABigjitnitG8EZtypPIvhb1vGt95GnZh00Fs8wTXyOarH0PhhndWKsTzDN3O57ncNRB+kr2YSLSCYiHIHSTG6+c5cPXNww= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594815636; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=YSLw3ouQZxIeuvCqAK0wQylfZS7yX/a+jtmJ8THg3dw=; b=Ivp1d6yIviX0BjeLz2PpZyqc++MhPlJjzZNVRr6QDp3ZOHoyQHsd6conhBONdXBjRPJ4ic2maXh1WdbCUZYi2siXSu925MzMFSES1LtlnY0dX/diwlFu/aoqRvnqMvfQt9qte+8FVzz3V/AW7RbF5H5e0tzshOdLF4qeEGgQ0cU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62607+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159481563665048.681429277742495; Wed, 15 Jul 2020 05:20:36 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id s7oNYY1788612xzrIBnUNpts; Wed, 15 Jul 2020 05:20:36 -0700 X-Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by mx.groups.io with SMTP id smtpd.web11.5502.1594815635502412147 for ; Wed, 15 Jul 2020 05:20:35 -0700 X-Received: by mail-wm1-f68.google.com with SMTP id 17so5570364wmo.1 for ; Wed, 15 Jul 2020 05:20:35 -0700 (PDT) X-Gm-Message-State: XJp0w4uXTY8t4afSwBuzRctlx1787277AA= X-Google-Smtp-Source: ABdhPJxIArZugCzgvWalM4v7Od4/pkSk7v41zIxYayMzT98wZ61TSkt7wl+o/8Za1oATWS7nHj6sUQ== X-Received: by 2002:a1c:7313:: with SMTP id d19mr7983157wmb.147.1594815633468; Wed, 15 Jul 2020 05:20:33 -0700 (PDT) X-Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id 26sm3078142wmj.25.2020.07.15.05.20.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 05:20:32 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Michael D Kinney , Vin Xue Subject: [edk2-devel] [PATCH edk2-platforms 4/4] Readme.md: add example command line to cross compiling section Date: Wed, 15 Jul 2020 13:20:27 +0100 Message-Id: <20200715122027.970-5-leif@nuviainc.com> In-Reply-To: <20200715122027.970-1-leif@nuviainc.com> References: <20200715122027.970-1-leif@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,leif@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594815636; bh=b4B8BtftakkpC28+Owh57vtnqL4whxOsdYhk3HTw33Q=; h=Cc:Date:From:Reply-To:Subject:To; b=prA7ZFmA4W7W6bdvxi+jdhslTHsLJRj7UxlrSFn5CzCVqAO7S5cV4R4BcZb24QlapQQ B439PCtfrvI2zrneeTB43UyHpD78b2yq6eA5IScegpS8ozQ+lf8t1Fpk7fX2u4/AGoHZx I5DeS1fWCxJ4r4rZYEpbTFe9xLRGSkA/6BY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Vin Xue Add build command example for cross compiling. Cc: Leif Lindholm Cc: Michael D Kinney Signed-off-by: Vin Xue Reviewed-by: Leif Lindholm --- Readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Readme.md b/Readme.md index a800f86b84a9..3de88c330f5c 100644 --- a/Readme.md +++ b/Readme.md @@ -147,6 +147,9 @@ variable `{TOOL_CHAIN_TAG}_{TARGET_ARCH}_PREFIX` - in t= he case above, =20 So, referring to the cross compiler toolchain table above, we should prepe= nd the `build` command line with `GCC5_AARCH64_PREFIX=3Daarch64-linux-gnu-`. +``` +$ GCC5_AARCH64_PREFIX=3Daarch64-linux-gnu- build -a AARCH64 -t GCC5 -p Pla= tform/ARM/JunoPkg/ArmJuno.dsc +``` =20 ## Using uefi-tools helper scripts uefi-tools is a completely unofficial set of helper-scripts developed by L= inaro. --=20 2.20.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62607): https://edk2.groups.io/g/devel/message/62607 Mute This Topic: https://groups.io/mt/75518797/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-