mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Holger Schurig <holgerschurig@gmail.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: "U-Boot Version 2 (barebox)" <barebox@lists.infradead.org>
Subject: Re: recommendation for ARM cross-compiler for building for beaglebone black?
Date: Tue, 1 Jul 2014 08:59:47 +0200	[thread overview]
Message-ID: <CAOpc7mFKJ-9diZS_=ziSeN24XHGJ4=7rTUxsKBv5jDXCqk_BsA@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1406301135120.14954@localhost>

I don't have a clue if that is the "best" toolchain, but I'm using this:

#############################################################################
##  Toolchain
#############################################################################
# http://www.linaro.org/downloads/#008

GCC_LINARO_FILE=gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
GCC_LINARO_HTTP=http://releases.linaro.org/14.04/components/toolchain/binaries/
GCC_LINARO_DIR=gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
CROSS_COMPILE=`pwd`/$(GCC_LINARO_DIR)/bin/arm-linux-gnueabihf-

.PHONY:: toolchain
toolchain all:: $(GCC_LINARO_DIR)/STAMP

downloads:: downloads/$(GCC_LINARO_FILE)
downloads/$(GCC_LINARO_FILE):
        @test `id -u` != 0 || { echo "\n---> Not as root, dude!
($@)\n"; exit 1; }
        mkdir -p downloads
        wget -q -c -P downloads $(GCC_LINARO_HTTP)/$(GCC_LINARO_FILE)

$(GCC_LINARO_DIR)/STAMP: downloads/$(GCC_LINARO_FILE)
        @test `id -u` != 0 || { echo "\n---> Not as root, dude!
($@)\n"; exit 1; }
        tar xaf $<
        touch $@

Works okay with barebox and Linux.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2014-07-01  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 15:36 Robert P. J. Day
2014-07-01  6:37 ` Robert Schwebel
2014-07-01  6:59 ` Holger Schurig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOpc7mFKJ-9diZS_=ziSeN24XHGJ4=7rTUxsKBv5jDXCqk_BsA@mail.gmail.com' \
    --to=holgerschurig@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=rpjday@crashcourse.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox