How to reduce the RTEMS BSP build time

Amarnath MB amarnath.mb at
Mon Dec 10 09:04:16 UTC 2018

Hi Jeol,

I was doing bootstrap in the top of the tree, Thanks for your tip.

As per  Sebastian Huber suggested I'm moving my development to master
In RTEMS 5, after adding some changes in the start.S file if I give
successive make as 'make RTEMS_BSP=lpc32xx_mzx',
the changes are getting reflected in the hello.exe sample. I don't need to
give a clean before each make.

I have one more doubt, is there a way to build only specific samples from

*Thank you & Regards,*
*Amarnath MB*

On Fri, Dec 7, 2018 at 6:44 PM Joel Sherrill <joel at> wrote:

> On Fri, Dec 7, 2018, 12:36 AM Amarnath MB <
> amarnath.mb at wrote:
>> Hi,
>> I am a noob to RTEMS. Currently working on developing an RTEMS 4.11 BSP for
>> a new SOC based on ARM926EJS.
>> I have taken lpc32xx_mzx as the reference BSP and I was able to
>> successfully build the BSP in Ubuntu 16.04 using the steps in
>> RTEMS user manual.
>> Below is the time taken for completing each step in BSP building:
>> 1. bootstrapping takes 20 mins,
>> 2. configuring takes 3 mins
>> 3. make takes 18 mins
>> 4. install takes 4 mins
> You are developing a bsp so you may be able to take some shortcuts.
> First only build the samples. There is no point in build 500+ tests until
> you pass hello, ticker, etc.
> If you change a BSP or, bootstrap from that
> directory not the top of the tree.
> Configure with --enable- maintainer-mode which accounts for dependencies
> from changing configure or Makefiles.
> If you are on a VM, give it more cores and use the option to limit the VM
> from using 100% of the CPU time. The base OS will need some cycles but not
> half the cores worth while you are using the VM.
> Give the VM at least 2GB if you have enough RAM to do that. 4 if you have
> 8GB or more.
>> When I give a make after adding some changes in the start.S file, the
>> changes are not reflected in the hello.exe sample.
>> I need to give a clean and then a make to have the changes reflect in the
>> hello.exe, as a result, each make takes 18 mins
>> which is very huge compared to other builds like u-boot.
> From the build tree:
> find . -name *.exe | xargs -e rm
> make
> Redirecting make to a log file helps and -j helps
> I think this bug if fixed on the master
>> Is there a way that I can reduce this build time?
>> Thanks in advance for all your support.
>> *Thank you & Regards,*
>> *Amarnath M B *
>> _______________________________________________
>> users mailing list
>> users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list