17 Commits

Author SHA1 Message Date
Chris Johns
158ad680ae sb: Back port the RTEMS 5 and 6 RSB engine.
- Build GDb first as we do for RTEMS 5 and later

- Update GDB to 9.1 for all archs expect SPARC. The SIS patches
  only apply to 7.9. Disable Python for SPARC

Closes #4111
2020-10-06 12:00:21 +11:00
Chris Johns
1675a73353 gdb: Build with system readline and use MinGW compilers.
Select MinGW compilers for Windows builds on Windows.

Use the system readline rather than GDB's which does not
handle cmd.exe correctly.

Closes #2681.
2016-04-15 15:26:12 +10:00
Chris Johns
84ed68588b sb: Make cvs optional.
Ignore RSB generated files to keep the git dirty status clean.

Closes #2647.
Closes #2748.
2016-03-16 06:04:37 +11:00
Chris Johns
7309d94031 sb: Add support to GDB to select a specific Python.
Detect a suitable Python version on Windows.

Update #2619.
2016-03-08 22:26:28 +11:00
Chris Johns
f88fcf3ae0 sb: Update code base to support Python3 and Python2.
Fix Windows support to allow MSYS2 Python to be used.

Updates #2619.
2016-03-07 13:16:17 +11:00
Chris Johns
b6d6a11abf sb: Change Cygwin support to produce cygwin executables. 2015-03-18 08:54:48 +11:00
Chris Johns
a84249d261 Windows fixes to build with MSYS2.
The path handling has been cleaned up and support for file names
longer than 256 characters.
2015-03-07 09:24:51 +11:00
Chris Johns
d4eb08f55a Windows native build fixes.
The testing of building on Windows is done using MSYS2.
2015-02-07 17:58:17 +11:00
Chris Johns
a14171f524 sb: Add _host_os_version to all supported hosts. 2014-04-10 18:26:42 +10:00
Chris Johns
db65c6aaf1 Support Canadian cross builds on FreeBSD (and other hosts).
Set up the rules to manage the separate host and build setting to
allow a Canadian cross to complete.

Update the scripts to move the build directory and host/build
flags into the defaults so they are common for all build
configurations.
2013-05-15 12:15:14 +10:00
Chris Johns
3c69de0831 Add the missing Windows versions or MinGW. 2013-05-01 08:34:09 +10:00
Chris Johns
69e593825e Remove smp_mflags. Defaults adds this now. 2013-04-04 11:26:41 +11:00
Chris Johns
0add2eaa70 PR 2108, PR 2109. Add --jobs and --always-clean.
Refactor the options handling in defaults.py to allow the --jobs
option have varing specific parameters. The option supports 'none',
'max' and 'half' or a fraction to divide the number of CPUs or
an integer value which is the number of jobs. The --no-smp has
been removed.

The host specific modules have been changed to set the number of
CPUs in the defaults table.

Fixed the --keep-going to clean up is --always-clean is provided
even if the build has an error.
2013-04-03 14:31:41 +11:00
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
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
9262cd4947 Update the Windows location of new tools. 2013-02-27 16:04:04 +11:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00