12 Commits

Author SHA1 Message Date
Chris Johns
cbcf8698a8 sb/get-sources: Fix getting sources with archs
- Add a stop on error option

- Add listing root or toplevel buildset files

- Add used and unused file output to track what is not used
  for clean ups

- Update to handle macro expanded includes in buildset files
2022-08-17 14:52:12 +10:00
Chris Johns
c51f634258 sb: Fix the imports on Python2
Updates #4037
2020-08-28 11:37:53 +10:00
Chris Johns
650c6f9933 sb: Use shebang env python
Closes #4037
2020-08-25 21:21:50 +10:00
Chris Johns
12418190b9 sb/track: Add a command to track build sets.
- Process a build set for a range of hosts and output a dependency
  tree, the used build set and configuration files.
- Output the configuration files that are no referenced

Closes #4036
2020-08-10 16:19:47 +10:00
Chris Johns
443b8ce3d3 sb/getsources: Fix the repo_mail reference. 2019-12-05 19:01:54 +11:00
Chris Johns
6efd343a92 sb/getsources: Macro right hand values need to be strings. 2019-12-05 18:01:37 +11:00
Chris Johns
5f7c53a7bd sb: Align the version processing with rtems-tools.
- Use the same VERSION file format as rtems-tools so a common release
  generation can be used.

- The version.py is almost the same as rtems-tools. There are some
  minor differences, one is the RTEMS version is present in this
  file while rtems-tool uses config/rtems-release.ini.

Updates #3822
2019-11-18 11:29:45 +11:00
Chris Johns
9d9c9b8b61 sb/getsource: Load the local host overrides
The local host overrides have to be loaded so host specific commands
and settings can be found and used.
2019-10-28 13:58:44 +11:00
Chris Johns
bedc9887f3 sb/getsource: Add RTEMS BSP defaults to fetch packages sources. 2019-10-27 18:24:14 +11:00
Chris Johns
c98264c635 sb/getsource: Set the correct macro name for getting source. 2019-10-27 10:35:05 +11:00
Chris Johns
3e22fc45d2 sb/get-source: Add a macro to indicate the get-source command is running.
- Fix GDB's library checks to ignore errors when getting the source.
2019-10-27 08:20:38 +11:00
Chris Johns
a74e43298c sb: Add sb-get-sources to download all referenced source files.
- Downloads all files into a single directory
- Iterates over all supported hosts to get any host dependent source
  no matter which host you run the command on.

Closes #3532
2019-05-22 09:27:07 +10:00