320 Commits

Author SHA1 Message Date
Chris Johns
fba1136108 Build Sets can reference other build sets.
A build set can invoke another build set. This allows an 'all'
type build set that builds all the RTEMS archs.

Change the get config call to return a map of paths and files.
2013-02-19 19:00:56 +11:00
Chris Johns
8d7624e1d4 Clean _tmproot. Move config listing to the setbuilder module.
Add the mising _tmprool clean.

Move the list printing out of the build which now just returns a
list of config files to the location of the options.
2013-02-17 11:50:02 +11:00
Chris Johns
e908afb868 Listing options now handle nested directories. 2013-02-14 18:00:38 +11:00
Chris Johns
73e8afb106 If the path is empty do prepend a dirsep. 2013-02-14 18:00:06 +11:00
Chris Johns
726b38e0b2 Fix _tmproot bug in OPT flags set up. 2013-02-13 16:49:36 +11:00
Chris Johns
1b094bf1aa Fix the tmprort name. It should be _tmproot. 2013-02-13 11:46:00 +11:00
Chris Johns
d58a31bc58 Remove debug print from the config parsing. 2013-02-13 11:39:28 +11:00
Chris Johns
73f6ad2fe8 Override the bison path on FreeBSD. 2013-02-13 11:35:36 +11:00
Chris Johns
d963553b51 Restructure RTEMS Config Files
Add arch build files. This allows archs to have different versions
and patches for specific tools.

Break the RTEMS config directory up into separate directories to
make long term maintenance easier. This required a change to config.py
to handle the config files being in subdirs of the config directory.

The defaults have been updated to include the install SB root so
packages built before a package are available.

Add makeinfo to the required tools. GDB (and others) need it to
build without error.
2013-02-13 11:35:36 +11:00
Chris Johns
6fad89b9b0 Default a define with no value to 1. 2013-02-11 14:22:02 +11:00
Chris Johns
2f72d35a79 Add per arch build sets using %include.
Add per arch build sets as this is really what RTEMS needs. You
can then vary the version based on the architecture.

Add '%include' to the buildset files.
2013-02-09 19:07:37 +11:00
Chris Johns
bd8fef3767 Improve mkdir and rmdir.
Testing on various hosts shows a few problems. These changes seem
to help resolve them.
2013-02-01 12:35:59 +11:00
Chris Johns
6e10a49c8b Clean up the exception handling. Lets --help work. 2012-11-10 16:10:30 +11:00
Chris Johns
a1d0eea383 Add flex. It is needed by gcc. 2012-11-10 07:46:03 +11:00
Chris Johns
e40c4dee09 Fix the parsing of the paths for patches. 2012-11-09 15:40:06 +11:00
Chris Johns
d16619161c Add support for Fedora 16. 2012-11-08 13:12:10 +11:00
Chris Johns
3d5b64d2dc Add -pipe to the compiler options. 2012-11-07 08:41:23 +11:00
Chris Johns
b37e771d78 Fix silly bug. 2012-11-06 19:17:50 +11:00
Chris Johns
9ffdc67142 Add support for Ubuntu. 2012-11-06 18:46:59 +11:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00