Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] github download helper question
@ 2014-08-01 12:07 Waldemar Brodkorb
  2014-08-01 14:59 ` Samuel Martin
  0 siblings, 1 reply; 3+ messages in thread
From: Waldemar Brodkorb @ 2014-08-01 12:07 UTC (permalink / raw)
  To: buildroot

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] github download helper question
  2014-08-01 12:07 [Buildroot] github download helper question Waldemar Brodkorb
@ 2014-08-01 14:59 ` Samuel Martin
  2014-08-01 20:45   ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Samuel Martin @ 2014-08-01 14:59 UTC (permalink / raw)
  To: buildroot

Hi Waldemar,

On Fri, Aug 1, 2014 at 2:07 PM, Waldemar Brodkorb <wbx@openadk.org> wrote:
> 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].

> 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
> _______________________________________________
> 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


-- 
Samuel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] github download helper question
  2014-08-01 14:59 ` Samuel Martin
@ 2014-08-01 20:45   ` Yann E. MORIN
  0 siblings, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-08-01 20:45 UTC (permalink / raw)
  To: buildroot

Waldemar, Samuel, All,

On 2014-08-01 16:59 +0200, Samuel Martin spake thusly:
> On Fri, Aug 1, 2014 at 2:07 PM, Waldemar Brodkorb <wbx@openadk.org> wrote:
> > 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--]
> [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.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-01 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-01 12:07 [Buildroot] github download helper question Waldemar Brodkorb
2014-08-01 14:59 ` Samuel Martin
2014-08-01 20:45   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox