462 Commits

Author SHA1 Message Date
Hesham Almatary
e274bdfe10 RSB - RISC-V: Add scripts to build RISC-V's simulator
Update #3109
2017-10-28 18:00:42 +11:00
Chris Johns
8cdc8e42e4 sb: Remove debug print left in by mistake. 2017-10-27 17:36:06 +11:00
Chris Johns
70e3e5e115 sb: Set the to email address to build@rtems.org.
- Fix a minor bug in the to addr processing.

Update #3210
2017-10-27 17:34:00 +11:00
Chris Johns
0f97375242 sb: Provide a more detail email message.
Close #3210.
2017-10-27 17:26:26 +11:00
Chris Johns
910196d686 sb: Add a call to get the post processed report output.
Update #3210.
2017-10-27 17:26:26 +11:00
Chris Johns
723b638e02 sb: Add a log capture interface to capture the console output.
- Increase the tail logged to 400 lines.

Update #3210.
2017-10-27 17:26:26 +11:00
Chris Johns
9b54dd8e18 sb: Add a defined check.
Updates #3210.
2017-10-27 17:26:26 +11:00
Chris Johns
34d7e0cc71 darwin: Allow xz to live anywhere. 2017-10-23 15:32:12 +11:00
Chris Johns
4021c28ed0 sb: Fix the interface to all path function to be shell paths.
- Add an is_abspath call.
- Convert the path or paths to shell paths on entry to all path
  calls. This is safe to do for a path that is already a shell path.
- Fix exists to use shell paths.
2017-10-15 01:37:05 +11:00
Chris Johns
7c0c0ba16c sb: Fix the log after breaking adding --without-log 2017-10-12 14:06:43 +11:00
Chris Johns
f79eaf364f sb: Remove MD5 and SHA1 as they not secure.
Updates #2536.
2017-10-12 13:48:52 +11:00
Chris Johns
7b68249b57 sb: Add --source-only-download to make download source simple.
This is needed to test #2536.

Add an option to disable any log.

Updates #2536.
2017-10-12 13:48:52 +11:00
Chris Johns
6dc551cf47 sb: Move the option check for reporting errors to the error reporter.
Updates #2536.
2017-10-12 13:48:52 +11:00
Joel Sherrill
c4b6bf0d6d Enable 64-bit BFD support. Needed on 32bit hosts
Closes #3157.
2017-10-11 21:16:20 -05:00
Chris Johns
55f2d69e9b sb: Allow checking if '.' exists as a path. 2017-09-22 12:02:27 +10:00
Chris Johns
1519d11fce sb: Ignore untracked files or detached HEAD in the dirty repo check.
Closes #2960.
2017-09-22 11:59:46 +10:00
Sebastian Huber
630e658ccf 4.12: Update to GCC 7.2 2017-08-22 07:23:23 +02:00
Chris Johns
71c76d09e8 gcc: Disable makeinfo cause newer versions do not build gcc-4.8 docs.
Newer makeinfo tools cannot build the existing texinfo in gcc so
disable building it. This will not be fixed on the gcc branch.

Updates #3027.
2017-08-09 09:36:12 +10:00
Chris Johns
4578e0ac47 sb: Fix long path support in copy_tree and removeall path support.
The change lets the LM32 target build on Windows which has temporary
install paths greater than the Win32 API max size. The buildroot path
compression is still needed as the GNU assembler does not like paths
that exceed the max Windows limit.

Closes #2992.
2017-08-09 09:36:07 +10:00
Chris Johns
8b96e17c8a doc: Remove in source documentation and the asciidoc package
The RSB documentation is now in ReST format and part of the RTEMS
Documentation project. See https://docs.rtems.org/.

Remove support for the GPL based asciidoc tool and remove the
asciidoc package from the RSB.

Add the Python Markdown package and update the reporter to use
Markdown for HTML generation. The resuling HTML report is a single
self contained file.

Closes #3047.
2017-08-07 09:59:49 +10:00
Chris Johns
4f3b8da031 sb/download: Fix --rsb-file options with released sources.
The released sources use the local file name so always force it when
the RSB is released.

Closes #3064.
2017-07-12 16:55:34 +10:00
Andreas Kölbl
d413d7e228 Fix GDB build on ArchLinux
Archlinux provides both, libguile v2.0 and v2.2. GDB states in
configuration its compatibility with both versions of libguile which is
false. The SCM_port interface of libguile was removed in v2.2 and
therefore breaks GDB as a user.

RTEMS does not use libguile and therefore it can be compiled without
support.

https://sourceware.org/bugzilla/show_bug.cgi?id=21104

Close #3054.
2017-07-04 07:59:46 +10:00
Chris Johns
e02139d4ab sb: Fix 'bare' builds with --trace. 2017-06-26 09:28:07 +10:00
Sebastian Huber
cb3fac1ea7 sb: Make error messages unique
Enable traceability from the error message to the script location.  This
eases debugging.
2017-06-14 10:27:16 +02:00
Sebastian Huber
0a0d1c8c8b sb: Restrict file name length 2017-06-08 07:59:28 +02:00
Sebastian Huber
2c13f00bf2 Reduce file name length to make Windows happy 2017-06-08 07:07:27 +02:00
Sebastian Huber
94083b0487 Add GCC 7 base configuration 2017-06-06 06:48:55 +02:00
Sebastian Huber
7c121cac4d Fix for GCC 4.9 while building with GCC 6+
See also:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959
2017-06-06 06:48:42 +02:00
Sebastian Huber
e1257d4fe9 sb: Create hopefully more valid file names 2017-06-06 06:48:42 +02:00
Chris Johns
f99c37eb0a bootstrap: Do not create a log file by default. 2017-05-10 10:41:19 +10:00
Sebastian Huber
1ad33b0f96 Always use GCC provided zlib
Always use the GCC provided zlib to make the compiler as independent of
the host system as possible.
2017-03-31 09:55:08 +02:00
Chris Johns
902119ec87 freebsd: Update makeinfo and install-info paths on FreeBSD 11.0
Close #2947.
2017-03-26 13:43:26 +11:00
Chris Johns
78e7f6a751 sb: Add the release_path key to the version section in the VERSION file.
A release can specify a custom releaase URL path.

Closes #2952.
2017-03-26 13:38:18 +11:00
Sebastian Huber
4f72b95e60 sb: Bail out only if hash definitions conflict 2017-03-01 08:21:01 +01:00
Ralf Ramsauer
b43c7d7737 Add distro aliases for Gentoo hosts
Gentoo stores most of the basic stuff in /bin and not /usr/bin. Default
values do not work for Gentoo. Add 'gentoo' as a new variation.

Signed-off-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
2017-01-10 08:45:24 +11:00
Chris Johns
534332f22a binutils,gcc: Add support to control LTO and Gold. 2016-09-12 12:32:26 +10: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
f5e724fc07 graphics: Add 3rd party graphics support back to the master branch.
The support is added at the top level and so not lost when we
move to a new version of RTEMS.

The change also moves all 3rd party packages to use a common
rtems-package.bset build set file.

All packages except Microwindows itself build cleanly.
2016-04-15 11:59:30 +10:00
Chris Johns
383f7e6690 sb: Add --rsb-file options to %source and %patch to set a file name.
Override the automatic file name of a downloaded file and use the file
name provided by the option. This is useful if the URL has no meanful
file that can be automatically extracted from the URL.
2016-04-15 11:59:30 +10:00
Chris Johns
c98555c5f2 sb: Do not filter -f options from a BSP. 2016-04-15 11:59:30 +10:00
Chris Johns
29819a2719 sb: fix the if logic to handle directives in if statements.
Directives in if statements end at the end of an if. The cannot
change or split across directive boundaries.

Add more trace detail to config.py.

Updates #2661.
2016-03-19 17:25:34 +11:00
Chris Johns
721fbe05a1 sb: Fix vairable type in _if.
Updates #2655.
2016-03-18 14:41:03 +11:00
Chris Johns
eb252061aa sb: Fix op parsing bug where the string was not created.
Updates #2655.
2016-03-18 14:41:03 +11:00
Chris Johns
d44b4d243f sb: Make the URL output truncate on long long URLs. 2016-03-18 13:35:05 +11:00
Chris Johns
8bde727065 sb: Fix %if logical OP parsing.
Updates #2655.
2016-03-18 10:45:28 +11:00
Chris Johns
db8ec8c99e bare: Update qemu package source hashes that are missing.
Add support for pkgconfig checks to fail when just downloading the
source so it is actually downloaded on hosts that may have a package
installed.

Updates #2657.
2016-03-17 18:30:13 +11:00
Chris Johns
89a94d0486 sb: Fix the sensible url printer on Python3.
Updates #2656.
2016-03-17 18:30:13 +11:00
Chris Johns
38ed59a301 sb: Support --dry-run --with-download for 3rd party RTEMS BSP packages.
The building of 3rd party packages for an RTEMS BSP requires a valid
BSP so the standard method to download the source for releasing does
not work. This change adds support to allow this. The RTEMS BSP support
will not generate an error is no BSP or tools are provided or found.

The change addis logic operators to the %if statement so you can '||'
to 'or' and '&&' to 'and' logic expressions.

A new %log directive has been added to clean up the messages.

A new %{!define ...} has been added to aid checking within logic
expressions.

All command line --with/--without now appear as macros.

Add version.version to get just the RTEMS major and minor version.

Some pkg-config issues have been resolved.

Closes #2655.
2016-03-17 16:50:05 +11:00
Chris Johns
1bbb7666a0 sb: Change urlib to urllib2 on Python2 and add user agent support.
Some sites block the standard python user agent. Change to Wget
as it seems to make the tested sites behave.

Limit the size of long URLs when logging to the user.

Closes #2656.
2016-03-17 16:49:56 +11:00
Chris Johns
ed86b4b006 bare/devel/qemu: Fix the release URL logic and pkconfig python3 issues.
Closes #2645.
2016-03-16 17:14:45 +11:00