HEADSUP: Adding auto*generated files to rtems-4.11's git

Ralf Corsepius ralf.corsepius at rtems.org
Wed Jul 25 13:34:46 UTC 2012


On 07/25/2012 02:42 PM, Sebastian Huber wrote:
> On 07/25/2012 02:32 PM, Ralf Corsepius wrote:
>> Hi,
>>
>> As mentioned several times before, I'll soon gradually add some more
>> auto*tools
>> generated source files (Makefile.in, configure, aclocal.m4) to the
>> rtems-4.11
>> source tree in git.
>
> What is the benefit?
No bootstrapping required, no autotools required for "occasional users", 
certain classes of bugs and users-mistakes will become more visible, 
because files are pregenerated.



>  What happens if you switch to/from branches which
> don't have these files?
If all files are in git on all branches, you should be able to switch 
between branches.

[PS.: All non-trunk rtems-branches currently are rotten in git.
Switching between rtems-branches will not work.]

> PS:
>
> After the addition of the bspopts.h.in files it is no longer possible
> (at least on my machine) to add/remove/modify BSP options in the
> configure.ac file of a BSP and use an existing build tree.
Adding these files to git should not have "disabled this feature". It's 
more likely it made an already existing issue visible.

> The
> re-configure run will create a bspopts.h file with all options undefined.
To be checked. Not unlikely a bug RTEMS.

Ralf





More information about the devel mailing list