17 Commits

Author SHA1 Message Date
Chris Johns
4f26bdb2f0 Add Canadian Cross support.
Add support to build MinGW tools using Cygwin. This is a Canadian cross
build.

Do not expand the directives when parsing a configuration file. Hold
in the package object the text as read from the configuration file. Still
parse the logic but leave the macros. This allows a configuration to be
varied when the build happens. The Canadian cross uses this to build a
build compiler used to build a Cxc runtime.

Add Cxc support to the build module. In the defaults add rm and rmfile
macros, add Cxc paths and pre-build script code.

In the setbuilder check for a Cxc build and if so and the package
allow Cxc build the build host version then the host target
version.

Add cygiwn support to the defaults processing and to the Windows module.
2013-04-01 15:19:56 +11:00
Chris Johns
03ae6cad2a Need to have a default patch opts 2013-03-21 20:43:11 +11:00
Chris Johns
b78c1288b2 Patch on FreeBSD needs to have -E to remove empty files. This is the Linux default. 2013-03-21 20:37:15 +11:00
Chris Johns
b4b4f3c9de Add a define and undefine to opts. Define git details. 2013-03-12 18:29:57 +11:00
Chris Johns
984e4e6f39 Provide better control of sharing the defaults.
When using the set builder and nesting builds prpvide the nested
set builder and build objects with copies of the master defaults.
Python's variable sharing was sharing a single set of defaults
across all build sets and this resulted in popluted configurations.
2013-03-06 13:30:54 +11:00
Chris Johns
5e502a9ab1 Update ^C message to the user. 2013-03-04 18:06:51 +11:00
Chris Johns
d7e4900fe7 Add support for GIT.
The git module allows basic access to git. Hosts are now required
to provide git support.

The defaults module now returns options as a list split on '='.
2013-03-03 13:24:19 +11:00
Chris Johns
27e5a7e7f5 Add the sb-defaults command to print a hosts defaults. 2013-02-23 14:45:27 +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
4f5321fa65 Fix support for GCC being build as C++. 2013-02-20 16:39:41 +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
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
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
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
a1d0eea383 Add flex. It is needed by gcc. 2012-11-10 07:46:03 +11:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00