Thanks Cynthia for covering that. I was on my phone and
getting much typed correctly was painful. Autocorrect and
code just don't go together. :)
One time saving addition to this.. you can run bootstrap from
any directory with a configure.ac. It will then do everything
from that point down. For you, this would mean only
bootstrapping cpukit. This will be a lot faster.
--joel
On 6/22/2013 1:44 PM, Rempel, Cynthia wrote:
Hi,
When adding files to the RTEMS build system you need to make changes to the
following files:
1. configure.ac (this could be cpukit/configure.ac or another configure.ac
depending on where you added the header)
2. Makefile.am (again this could be cpukit/Makefile.am or another Makefile.am
depending on where you added the header)
Then as Joel said run
./bootstrap -c && ./bootstrap -p && ./bootstrap
./bootstrap cleans the Makefile.in s
./bootstrap -p regenerates the preinstall.am s
./bootstrap generates the Makefile.in s
This seems to work well... configuring with --enable-maintainer-mode may also
be helpful...
Hope this helps!
Cindy
________________________________________
From: rtems-devel-boun...@rtems.org [rtems-devel-boun...@rtems.org] on behalf
of Ralf Corsepius [ralf.corsep...@rtems.org]
Sent: Friday, June 21, 2013 1:33 PM
To: rtems-devel@rtems.org
Subject: Re: globaledf
On 06/21/2013 09:38 PM, Joel Sherrill wrote:
You have added a .h file. You need to run bootstrap -p and bootstrap in cpukit.
Wrong - This does not apply, when having configure the source tree in
maintainer-mode.
Once having configured the build-tree it will regenerate and update the
Makefile.in.
Bootstrap is only necessary once after a fresh git checkout!
It would not be necessary if RTEMS carried the auto-tool generated files
in git - but I guess hell will freeze, before some people around here
will comprehend this.
Ralf
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherr...@oarcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel