From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 11 Nov 2015 16:54:03 +0100 Subject: [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org In-Reply-To: <1447249028-29795-1-git-send-email-thomas@wytron.com.tw> References: <1447249028-29795-1-git-send-email-thomas@wytron.com.tw> Message-ID: <201511111654.04024.marex@denx.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 Wednesday, November 11, 2015 at 02:37:08 PM, Thomas Chou wrote: > Add links for toolchains not available on kernel.org. > > The sh4 toolchains from kernel.org dose not work for some boards, > so use the sh from Sourcery. > > Signed-off-by: Thomas Chou Wouldn't it instead make more sense to get kernel.org to mirror those toolchains ? The links might not last forever, but I think kernel.org is not gonna go belly-up any soon. > --- > tools/buildman/README | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > > diff --git a/tools/buildman/README b/tools/buildman/README > index 10c7135..e205278 100644 > --- a/tools/buildman/README > +++ b/tools/buildman/README > @@ -156,7 +156,6 @@ aarch64: > /opt/linaro/gcc-linaro-aarch64-none-elf-4.8-2013.10_linux > [toolchain-alias] > x86: i386 > blackfin: bfin > -sh: sh4 > nds32: nds32le > openrisc: or32 > > @@ -341,6 +340,23 @@ Testing > - found > '/home/sjg/.buildman-toolchains/gcc-4.5.1-nolibc/or32-linux/bin/or32-linux > -gcc' Tool chain test: OK > > +Or download them all from kernel.org and move them to /toolchains > directory, + > +$ for i in aarch64 arm avr32 i386 m68k microblaze mips or32 powerpc sparc > + do > + ./tools/buildman/buildman --fetch-arch $i > + done > +$ mkdir -p /toolchains > +$ mv ~/.buildman-toolchains/*/* /toolchains/ > + > +For those not available from kernel.org, download from the following > links, + > +arc: > https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases > / +blackfin: http://sourceforge.net/projects/adi-toolchain/files/ > +nds32: http://osdk.andestech.com/packages/nds32le-linux-glibc-v1.tgz > +nios2: http://sourcery.mentor.com/public/gnu_toolchain/nios2-linux-gnu/ > +sh: http://sourcery.mentor.com/public/gnu_toolchain/sh-linux-gnu/ > + > Buildman should now be set up to use your new toolchain. > > At the time of writing, U-Boot has these architectures: Best regards, Marek Vasut