github download helper question
Hi Developers,
for ARC C library testing I would like to use
a special branch of
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.
How I can do this with buildroot?
I need the arc-4.8-tls branch to test the uClibc NPTL port for ARC.
The manual is empty:
http://nightly.buildroot.org/manual.html#download-infra
Unfortunately I do not understand the involved make magic to download stuff from github.
Thanks for any hints,
Waldemar
Hi Waldemar,
Quoted 6 lines · Waldemar Brodkorb
Hi Developers,
for ARC C library testing I would like to use
a special branch of
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.
How I can do this with buildroot?
Just set the right sha1 as version, further details at [1].
Quoted 9 lines
I need the arc-4.8-tls branch to test the uClibc NPTL port for ARC.
The manual is empty:
http://nightly.buildroot.org/manual.html#download-infraUnfortunately I do not understand the involved make magic to download stuff from github.
Quoted 6 lines
Thanks for any hints,
Waldemar
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Regards,
[1] http://nightly.buildroot.org/manual.html#github-download-url
Signature · 1 line
Samuel
Waldemar, Samuel, All,
On 2014-08-01 16:59 +0200, Samuel Martin spake thusly:
Quoted 9 lines · Waldemar Brodkorb
Quoted 6 lines
Hi Developers,
for ARC C library testing I would like to use
a special branch of
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.
How I can do this with buildroot?Just set the right sha1 as version, further details at [1].
[--SNIP--]
Quoted 1 line
[1] http://nightly.buildroot.org/manual.html#github-download-url
As Samuel said, the version can be a sha1. But as stated in the manual, it can also be a tag.
So, you write something like:
FOO_VERSION = v1.2.3
FOO_SITE = $(call github,<user>,<package>,$(FOO_VERSION))And replace <user> and <package> with the approriate values.
For example, to use their gcc, you'd write something like this:
GCC_VERSION = arc-2014.08-rc1
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'