22 Commits

Author SHA1 Message Date
Chris Johns
650c6f9933 sb: Use shebang env python
Closes #4037
2020-08-25 21:21:50 +10:00
Chris Johns
22135c9a76 windows: Use GNU tar to unpack source
- The bsdtar command does not handle symlinks cleanly, GNU tar does

Closes #3868
2020-02-12 14:41:14 +11:00
Chris Johns
a9815d91f0 sb/windows: Add the optional cmake command. 2019-10-25 14:12:33 +11:00
Joel Sherrill
84a94f743e rtems-gdb-8.0.1-1.cfg: Add Cygwin patch for ncurses not termcap
This also updates windows.py to distinguish betweem MSYS2 and Cygwin.

closes #3576.
2018-11-12 14:12:47 -06:00
Chris Johns
a0c1f0f358 windows: Remove debugging code that fails on Cygwin. 2018-10-24 09:16:56 +11:00
Chris Johns
13f4c37999 sb: Add support to search for a suitable version of python.
The command python has been removed from upstream python and python2
and python3 is now used. This patch wraps the commands in a shell
script that locates a suitable python to run.

Updates #3537
2018-10-21 09:49:02 +11:00
Chris Johns
6843e47ce3 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.
2016-04-15 15:22:36 +10:00
Chris Johns
33308d1aa3 sb: Make cvs optional.
Ignore RSB generated files to keep the git dirty status clean.

Closes #2647.
Closes #2748.
2016-03-15 10:55:23 +11:00
Chris Johns
334c22c12d sb: Add support to GDB to select a specific Python.
Detect a suitable Python version on Windows.

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

Updates #2619.
2016-03-07 15:02:58 +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