[PATCH 1/2] Add option to limit bootstrap to a single arch

Chris Johns chrisj at rtems.org
Fri Feb 19 23:30:23 UTC 2016


On 20/02/2016 12:07 AM, Martin Erik Werner wrote:
> Using the -o|--only <arch> option, it is now possible to limit the
> bootstrapping operation of arch-specific libbsp, libcpu and cpukit paths
> to a single arch, for example:
> 
>   $ bootstrap -p -o or1k
> 
> This is a somewhat ugly implementation, but may be sufficient for the
> intended usage.

-1

It is normal to expect the full tree to be in a completely sync'ed state
and I see this as a way to have that not happen. As a result I see this
option as dangerous and do not support it being merged.

FYI we are moving to waf and the sooner we can get the doco sorted and
4.11 released the sooner we have the waf work moved to the master repo
and branch. On fast hardware a BSP can build in under 30 seconds.

> This reduces bootstrap time to around a third compared to a full run.

Have you tried the sb-bootstrap tool in the RSB?

It can do the same and better on a multi-core machine for a full bootstrap.

Chris



More information about the devel mailing list