434 Commits

Author SHA1 Message Date
Chris Johns
0f91a262ec Update the GCC component paths to ones master uses
Closes #4584
2022-01-24 16:16:34 +11:00
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
8af551c5a5 freebsd: FreeBSD 12.1 does not build gcc
- Remove the warnings from the build

Closes #4109
2020-10-02 12:18:49 +10:00
Sebastian Huber
c88c92d7fc sb: Change default prefix
Use OS prefix + "rtems" + $rtems_version as the default prefix to
automatically separate different RTEMS versions.

Close #3679.
2019-01-22 14:53:27 +01:00
Sebastian Huber
680205d703 sb: Change Linux default prefix to "/opt"
http://refspecs.linuxbase.org/FHS_3.0/fhs/ch03s13.html#purpose14

Update #3679.
2019-01-22 14:53:12 +01:00
Chris Johns
2c0676d4fa sb/path: Walk up to root checking if a path is writable.
A dirname of / is / so the path will never have a length of 0.

Close #3393
2018-04-13 13:11:18 +10:00
Chris Johns
62f68d9712 The libexpat project has moved to github. Fetch expat from github.
Closes #3316
2018-03-05 08:37:00 +11:00
Chris Johns
883dfa53a3 sb: Convert any unicode keys to strings
Closes #3313
2018-02-23 13:03:11 +11:00
Chris Johns
4671017f41 sb: Option --source-only-download does not download the source.
The option expansion is missing `--with-download'.

Close #3295
2018-02-08 09:13:38 +11:00
Chris Johns
38228039ec gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the
tools have a version string that matches the release.

Close #3074
2018-02-07 15:14:32 +11:00
Chris Johns
de9ca906d3 sb: RSB backport changes to support mailing list posting of builds.
This requires moving to markdown for HTML and so asciidoc can be removed.

Close 3289
2018-02-05 15:32:57 +11:00
Chris Johns
892b41666e darwin: Make the xz executable path based.
The xz tool is not provided in Xcode command line tools and needs to
built or obtained somehow. This path can be any where so relax the
need for an absolute path.

Close #3279
2018-01-29 14:25:26 +11:00
Chris Johns
6951eb276e sb: Disable a log file for the check command.
Fix a minor issue in the log module.
2018-01-18 14:42:25 +11:00
Chris Johns
7f49a01a05 sb: Back port options module from master.
Update #3274
2018-01-18 14:41:45 +11:00
Chris Johns
2ac145a933 sb: Add an orphan check to sb-check.
The orphans check lets you see which configuration and build set
files in the RSB are not referernced. You can audit the list and
remove any configuration files not being used. Top level
build set files are included so you need to becareful not to
remove something that is valid and useful. To run:

 $ ./source-builder/sb-check --check-orphans

Update #3274
2018-01-18 14:36:04 +11:00
Chris Johns
e1346e2647 sb: Back port the path module from master.
Update #3274
2018-01-18 14:35:31 +11:00
Chris Johns
80cf137146 gcc: Use GNU's FTP rather than the package's home sites that change.
Close #3271
2018-01-18 14:17:39 +11:00
Chris Johns
b487b7d130 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-10 11:44:32 +10:00
Chris Johns
0a916c3058 gcc: Disable makenfo cause newer verisons 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 branches.

Updates #3027.
2017-07-03 10:00:36 +10:00
Chris Johns
f179dc6538 sb: Backport from master the '--rsb-file=' option.
Upates #3033.
2017-06-14 11:22:50 +10:00
Chris Johns
78c152453b sb: Fix long path support in the copy_tree and removeall path support.
This change lets the LM32 target build on Windows which has temporary
install paths greated 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-06-14 11:22:50 +10:00
Chris Johns
dca7ab2853 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:19:18 +11:00
Chris Johns
462f915e30 freebsd: Update makeinfo and install-info paths on FreeBSD 11.0
Close #2947.
2017-03-21 14:08:45 +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
6b0d76cc9b 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:23:50 +11:00
Chris Johns
e6f96fc41e sb: Fix vairable type in _if.
Updates #2655.
2016-03-18 14:30:27 +11:00
Chris Johns
e12811908f sb: Fix op parsing bug where the string was not created.
Updates #2655.
2016-03-18 14:24:17 +11:00
Chris Johns
87434f6a7c sb: Make the URL output truncate on long long URLs. 2016-03-18 13:34:26 +11:00
Chris Johns
7d7f7749ee sb: Fix %if logical OP parsing.
Updates #2655.
2016-03-18 10:51:58 +11:00
Chris Johns
3fac45e900 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:27:47 +11:00
Chris Johns
7e04bc3d98 sb: Fix the sensible url printer on Python3.
Updates #2656.
2016-03-17 18:26:37 +11:00
Chris Johns
31f33047a2 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:47:31 +11:00
Chris Johns
0e22c3c7ff 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:39:57 +11:00
Chris Johns
5881078202 rtems/net-mgmt: Switch the net-snmp path to https as SF has changed. 2016-03-17 16:36:59 +11:00
Chris Johns
8f6fb61d53 bare/devel/qemu: Fix the release URL logic and pkconfig python3 issues.
Closes #2645.
2016-03-16 17:17:52 +11:00
Chris Johns
e70a165d6d sb: Do not expand the package name in a bset file.
If the package references macros yet to be defined an error is
generated. Let the macro expands happen when the package name is
actually used.

Closes #2645.
2016-03-16 17:17:40 +11: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
d4a2da8921 sb: Fix the --without-error-report parsing of the label.
Update #2526.
2016-03-14 17:42:51 +11:00
Chris Johns
2b5f69e672 sb: Update download to check the config file for release URL control.
Provide without_release_url support in the configuration file so
the release tarball download of the kernel and tools uses the
release's top level directory and not the sources directory.

Closes #2481.
2016-03-14 16:27:14 +11:00
Chris Johns
858e43bcce sb: Fix build's --with-error-report handling.
This reflects changes in the way the --with/--without options are handled.

Updates #2526.
2016-03-14 15:20:53 +11:00
Chris Johns
2e54883325 sb: Fix --without-release-url logic.
Updates #2636.
2016-03-10 16:48:38 +11:00
Chris Johns
58a8fd8b5f sb: Add a download option --with-release-url/--without-release-url.
The default without the option is to prepend the release URL to the URL
list to download from the RTEMS FTP site first if the RSB is released. This
option can force the RTEMS FTP to be tried first when not a release,
or you can supply a different URL to download from or you can request
no RTEMS URL is tried first. Eg:

 --with-release-url
 --with-release-url=file://opt/local/cache
 --without-release-url

Move the RTEMS release URL to the default.mc file. Change the URL
to the RTEMS FTP server and do not use the https method of access.

The option's with_arg call was cleaned up to make sense.

Remove the log's raw output of an extra space.

Some download error message formating was cleaned up.

Closes #2636.
2016-03-10 16:30:30 +11:00
Chris Johns
bce0563a79 sb: Fix typo on the urlparse name in download.py
Updates #2619.
2016-03-10 15:10:06 +11:00
Chris Johns
14392cc60e sb: Download's urllib_parse should point to urlparse on Python2.
Updates #2619.
2016-03-10 15:00:29 +11:00
Chris Johns
eaab26a41f sb: Fix configparser import on Python2 in version.py.
Updates #2619.
2016-03-10 14:52:25 +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
8268ba61a1 sb: Report platform import errors. 2016-03-08 22:26:17 +11:00
Chris Johns
e02eaa67b6 qemu: Add a package name to create a tarball. 2016-03-07 15:02:25 +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
76188ee494 sb: Remove http query flags from the file name if present.
The query flags such as '?h=4.11' to select a branch cannot appear
in the file name on Windows. This patch removes the query part from
the file name.

Update #2616.
2016-02-29 10:43:40 +11:00