RSB - How to checkout a branch from a repo and build from it

Gedare Bloom gedare at rtems.org
Tue Feb 24 19:31:55 UTC 2015


It looks like you can specify a branch in the %source command, e.g.
config/tools/rtems-binutils-git-1.cfg has
 %source set binutils
git://sourceware.org/git/binutils-gdb.git?fetch?reset=hard?branch=master?checkout=%{binutils_version}

-Gedare

On Tue, Feb 24, 2015 at 7:30 AM, Hesham Moustafa
<heshamelmatary at gmail.com> wrote:
> Hi,
>
> I am wondering how can I checkout a github repo, and from RSB change
> to another branch, and build from their. For example this repo [1] has
> master branch called "epiphany-binutils-2.23" which is not stable,
> instead it has another stable branch called
> "epiphany-binutils-2.23-software-cache" which I want to build from.
>
> [1] https://github.com/adapteva/epiphany-binutils
>
> --
> Hesham
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list