From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] binutils: Add user support for fetching from git.
Date: Wed, 3 Dec 2014 20:04:59 +0100 [thread overview]
Message-ID: <20141203190459.GH4152@free.fr> (raw)
In-Reply-To: <cf100033200a99097708adfd4f4c065b5e6fbe3b.1416611974.git.andrew.burgess@embecosm.com>
Andrew, All,
On 2014-11-21 23:32 +0000, Andrew Burgess spake thusly:
> This change adds a new option "from git repository" to the list of
> available binutils versions. Selecting this allows the user to input
> the URL of a git repository, and the version to use from the
> repository.
>
> The ARC target, which previously was hard coding a git URL and version
> into binutils.mk switches to this new scheme, moving the URL and
> version into Config.in.host.
Thank you for your contribution, and sorry for the delay in answering.
The fact that we need a git revision for arc is just happenstance, we
could well point to a tarball of that tag instead of getting it from
git; we do not use a tarball because none is available to our knowledge,
and thus we have to use the git tree.
However, this is creating an imbalance between binutils and gcc/glibc/...
and basically all other packages (except very few critical ones) for
which we do not offer a choice to use a random git tree or commit.
Moreover, we believe this situation is better served by using the
_OVERRIDE_SRCDIR feature, see:
http://nightly.buildroot.org/#_advanced_usage
8.11.6. Using Buildroot during development
[...] Buildroot provides a specific mechanism for this use case: the
<pkg>_OVERRIDE_SRCDIR mechanism. Buildroot reads an override file,
which allows the user to tell Buildroot the location of the source
for certain packages.
In this case, you would have to provide:
HOST_BINUTILS_OVERRIDE_SRCDIR=/path/to/your/arc-binutils
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2014-12-03 19:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1416611974.git.andrew.burgess@embecosm.com>
2014-11-21 23:32 ` [Buildroot] [PATCH] binutils: Add user support for fetching from git Andrew Burgess
2014-12-02 16:02 ` Andrew Burgess
2014-12-03 19:04 ` Yann E. MORIN [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=20141203190459.GH4152@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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