320 Commits

Author SHA1 Message Date
Chris Johns
6444d5806d Canandian Cross Compiling and RTEMS 3rd party package building Fixes.
The change fixes installing for RTEMS 3rd Party packages where the
RSB considered them Canadian Cross Compiling (Cxc). Fixing the
Cxc issue broke real Cxc builds. The change corrects the issue of
macros being changed in the Cxc and the prep data not being udpated.
The configuration is loaded again after the updated macros. The
macros are also copied and restored to ensure a clean stable base.

The change also introduces --rtems-tools and --rtems-bsp to align
the command line with the waf configure process or RTEMS application.
2015-07-20 13:49:42 +10:00
Chris Johns
dcc0e5cb6e Change license to BSD. 2015-06-22 10:18:49 +10:00
Chris Johns
e9dfd95dd9 Revert "add basic support for OpenBSD"
This reverts commit 83d97daa070d67d177b90796ed22e4044ec9012c.

It contains a GPL license.
2015-06-22 10:14:54 +10:00
Karel Gardas
83d97daa07 add basic support for OpenBSD 2015-06-22 10:12:44 +10:00
Chris Johns
5b5d6bff74 sb: Fix the downloader file:// URL to copy the file to the local path. 2015-06-16 20:57:06 +10:00
Chris Johns
99768016de sb: Expand each data line. 2015-06-05 16:58:29 +10:00
Chris Johns
4bd058ea7c sb: Always generate an XML report. 2015-05-22 12:20:41 +10:00
Nick Withers
d15a7f8861 Don't let a GCC port install override base Clang for FreeBSD 10+ 2015-05-22 12:02:38 +10:00
Chris Johns
ce60578b8f sb: Fix reporting and installing the reports when building.
Switch the default report to text format.
Fix the report to support the set builder.
2015-05-21 21:49:25 +10:00
Chris Johns
bd16849b11 sb: Update the downloader for 2.7.8 and earlier without a context. 2015-03-30 14:30:56 +11:00
Chris Johns
3237c8ee69 sb: Provide an unverified SSL context to the URL.
The RTEMS servers are causing an exception when downloading patches. The solution is
provided in PEP-0476 (https://www.python.org/dev/peps/pep-0476/#opting-out).
2015-03-29 15:35:00 +11:00
Chris Johns
2e54abc9ba sb: Make the source and patch labels have sortable label.
This patch changes 'patch1' to 'patch0001' so sorting of the macro
keys in the patch macro map returns the order the patches are declared.
The helps mamage patch sets that need a specific order.
2015-03-26 11:12:13 +11:00
Chris Johns
ba0008c372 sb: Do not accept an extra separate option for --with/--without.
The --with/--without that does not have an extra option was
consuming an extra option on the command line.
2015-03-20 13:57:27 +11:00
Chris Johns
b6d6a11abf sb: Change Cygwin support to produce cygwin executables. 2015-03-18 08:54:48 +11:00
Chris Johns
b0f9e30fa4 Add merge to the git and download modules to merge after a fetch.
Update the RTEMS tools and newlib-git to merge after the fetch.
2015-03-18 08:21:34 +11:00
Chris Johns
88cb50a3a4 Fix removall for Windows and POSIX file systems. 2015-03-07 09:24:51 +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
d7550652cb Add options support for --with/--without processing. Add --with-download support.
You can now test downloading by using --dry-run and --with-download.

Print the redirect if one is taken.
2015-02-18 10:27:02 +11:00
Chris Johns
616892914e Fixes to get a better update on MSYS2. 2015-02-18 10:26:57 +11:00
Chris Johns
be63b8a517 Fix coping and delete on Windows.
This change uses a python.org feature to make the paths uicode
which changes the WIN32 API used. The default WIN32 is limited
to file lengths of 256 characters.
2015-02-18 10:26:52 +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
eeded980e5 Fix the check to see if the path is writable. 2015-01-26 11:57:43 +11:00
Chris Johns
818ea245da Minor version number bump. 2015-01-18 11:25:17 +11:00
Chris Johns
3963ac4aae Detect a Cxc build from the options and automatically disabled installing.
This is similar to always providing --no-install on the command when building
a Cxc package.
2015-01-18 11:24:11 +11:00
Sebastian Huber
6733a85981 sb: Move content to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
e794d0aba9 sb: Add HTML generation to formatter class 2014-12-11 07:50:10 +01:00
Sebastian Huber
28410ebf89 sb: Move build set to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
14e5d2edbb sb: Move git status to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
1f77f9e36b sb: Add XML formatter 2014-12-11 07:50:09 +01:00
Sebastian Huber
97e083a72c sb: Move introduction to formatter classes 2014-12-11 07:50:09 +01:00
Sebastian Huber
5d565849b3 sb: Introduce formatter classes
Use inheritance instead of ifs.
2014-12-11 07:50:09 +01:00
Chris Johns
5821b02e82 sb: FreeBSD uses clang for cc on version 10 and later. 2014-11-06 08:44:45 +11:00
Chris Johns
85b46b85f1 sb: Provide a default log if none is provided. 2014-10-31 15:11:10 +11:00
Chris Johns
5fdd664b18 sb: Convert the '-' to '_' in symlinks for git repos. 2014-10-31 15:11:10 +11:00
Karel Gardas
5eb832f296 add support for i386-solaris2 platform 2014-10-07 19:50:59 +11:00
Chris Johns
d790668e39 sb: Add support for the standard git protocols for the %source command.
The source selector 'git://' now supports a protocol option that lets
you set the specific protocol git is to use to access a remote
repository.
2014-08-29 13:14:14 +10:00
Hesham ALMatary
e7a6292cb5 Fix bug of uncompressing zip files.
This patch uses __unzip macro for uncompressing zip files instead of
the wrong __zip macro which is not defined in defaults.mc file.
2014-08-29 11:51:24 +10:00
Chris Johns
2b4cd57ed8 sb: Fix the if logic for parameters. 2014-08-23 13:26:24 +00:00
Chris Johns
257d1e4378 rtems-4.11: Fix building the SPARC simulator.
Add support for simulator options to enable special features of
some gdb simulators.
2014-08-21 22:40:47 +10:00
Chris Johns
53290f9bd7 sb: Add a dry run footer to ereports. 2014-08-14 07:10:52 +10:00
Chris Johns
d3629a9bae sb: Fix sources related bugs.
Updates the sources module introduced bugs in the build and download
modules. The commit fixes those modules.
2014-08-12 12:59:22 +10:00
Chris Johns
8db5212665 sb: Complete support for INI file reporting.
The INI file format provides a parsable configuration file format.
2014-08-12 12:22:30 +10:00
Chris Johns
91462f6d5e sb: Add INI format output to the reports.
The INI format report is a way to export a configuration.
2014-08-09 23:51:19 +10:00
Chris Johns
c21f09e060 sb: Update git support. 2014-08-09 23:51:02 +10:00
Chris Johns
4934771892 sb: Add support to get sources and hashses. 2014-08-09 23:49:29 +10:00
Chris Johns
039381478b sb: PR 2184 - Fix the subprocess use on Python < 2.7. 2014-08-05 13:51:08 +10:00
Chris Johns
910081d515 sb: Fix using hashlib's algorithms on python earlier than 2.7. 2014-08-04 18:09:30 +10:00
Chris Johns
09cdaa34d7 Version 0.4.0. 2014-07-29 16:38:41 +10:00
Chris Johns
a083b52921 Add checksum support for downloaded files.
File download by http, ftp, pw support checksum. The %hash
directive provides a means of setting a hash used to
checksum the file.

Files on disk or just downloaded are checked.
2014-07-29 16:35:43 +10:00
Chris Johns
c49e500042 sb: Add visual feedback for http type downloads. 2014-07-29 10:04:55 +10:00