From: Heinrich Schuchardt Date: Sun, 23 Sep 2018 22:06:49 +0200 Subject: [U-Boot] [PATCH 1/1] riscv: allow native compilation In-Reply-To: References: <20180806171538.14790-1-xypron.glpk@gmx.de> <752D002CFF5D0F4FA35C0100F1D73F3F6BCAEA11@ATCPCS16.andestech.com> Message-ID: <03d014cc-4857-72ff-ed9c-0dea33899fdc@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/07/2018 10:57 AM, Rick Chen wrote: >> If environment variable CROSS_COMPILE is not set, this indicates native >> compilation. In this case we should not set an arbitrary value which is not >> applicable for 64bit anyway. >> > > OK ! > Thanks for your correction. > > B.R > > Rick Somehow the patch never made it into git.denx.de/u-boot-riscv.git. Could you, please, consider the patch for your next pull request. Best regards Heinrich > >> Signed-off-by: Heinrich Schuchardt >> --- >> arch/riscv/config.mk | 4 ---- >> 1 file changed, 4 deletions(-) >> >> diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index >> 219e66683d..f7a2ffbbc6 100644 >> --- a/arch/riscv/config.mk >> +++ b/arch/riscv/config.mk >> @@ -10,10 +10,6 @@ >> # Rick Chen, Andes Technology Corporation # >> >> -ifeq ($(CROSS_COMPILE),) >> -CROSS_COMPILE := riscv32-unknown-linux-gnu- -endif >> - >> 32bit-emul := elf32lriscv >> 64bit-emul := elf64lriscv >> >