329 Commits

Author SHA1 Message Date
Chris Johns
729f0bb61f Build sets can optional keep going on failure to support tool build testing.
The --keep-going option lets a build set continue if it fails. The keep
going is only at the build set level and not at the package level.
2013-02-21 10:17:24 +11:00
Chris Johns
1b7e392fa1 Make the shell cmd path relative on error. 2013-02-21 10:16:52 +11:00
Chris Johns
e5aa27f028 Make sources directory if it does not exist.
Remove the need to add the --force option. Also revert the force option
back to the --force from --no-force and leave it so the user can
bypass the host check of various packages.
2013-02-21 10:07:04 +11:00
Chris Johns
251a42d399 Output the time a build set takes. 2013-02-20 17:30:59 +11:00
Chris Johns
4f5321fa65 Fix support for GCC being build as C++. 2013-02-20 16:39:41 +11:00
Chris Johns
4f8fb656c4 Fix the path handling of nesting build sets. 2013-02-20 16:38:46 +11:00
Chris Johns
b112284fb3 Use a relative path for the download notice message. 2013-02-20 14:48:54 +11:00
Chris Johns
ab99d6fe8c Print the installed path as relative. 2013-02-19 20:04:26 +11:00
Chris Johns
972ad8cdee Make force on the default. Option is now --no-force. 2013-02-19 19:02:51 +11:00
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