summaryrefslogtreecommitdiffstats
path: root/source-builder/sb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pkgconfig.py: Removed use of "unicode" keyword for python3 compatibilityStephen Clark2020-09-261-6/+17
| | | | Closes #4094.
* sb: Fix the imports on Python2Chris Johns2020-08-2810-21/+31
| | | | Updates #4037
* sb: Use shebang env pythonChris Johns2020-08-2538-624/+166
| | | | Closes #4037
* sb/track: Only output unreferenced configs with the optionChris Johns2020-08-121-33/+30
|
* sb/bootstrap: Remove the sb-bootstrap commandChris Johns2020-08-102-302/+0
| | | | Closes #4046
* sb/builder: Remove sb-builder commandChris Johns2020-08-101-29/+0
| | | | Closes #4045
* sb/track: Add a command to track build sets.Chris Johns2020-08-106-596/+1029
| | | | | | | | - 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
* sb/options: A Canadian Cross is a different host, build and targetChris Johns2020-06-301-6/+5
| | | | The check must make sure each is different.
* Change version to RTEMS 6Sebastian Huber2020-06-301-1/+1
| | | | Update #4020.
* sb: Disable any trace dataChris Johns2020-05-081-2/+2
|
* sb: Add git clean to the supported git commands.Chris Johns2020-05-082-0/+17
|
* sb/linux.py: Workaround for Python >= 3.8Anders Montonen2020-04-281-7/+11
| | | | | | | | | | | | | | | The platform.dist() interface has been deprecated since Python 3.5, and has been removed in Python 3.8. Fixes: Traceback (most recent call last): File "/home/anders/work/rtems/rsb/source-builder/sb/options.py", line 682, in load overrides = linux.load() File "/home/anders/work/rtems/rsb/source-builder/sb/linux.py", line 60, in load distro = platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
* sb: Fix Python literal comparison warningsAnders Montonen2020-04-282-30/+30
| | | | | | | Fixes: SyntaxWarning: "is" with a literal. Did you mean "=="? Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
* sb/reports: add sanitize parameter enabled for --mailGedare Bloom2020-04-042-21/+35
| | | | | | | | Adds a --sanitize option to command line for reports.py and also for the reports.report() interface from setbuilder.py to remove the Remotes information from git. Closes #3887.
* sb/reports.py: Remove spurious error checkGedare Bloom2020-04-011-2/+0
| | | | | The error path is taken when list-bsets or list-cfgs returns true (meaning it listed them). So the error is invalid.
* sb/execute: Port fixes from rtems-toolsChris Johns2020-03-301-10/+23
|
* sb: Use multiprocessing.cpu_count()Sebastian Huber2020-03-051-16/+2
| | | | | The previous implementation does not work on some Linux distributions, e.g. Debian on sparc64. Use a standard function instead.
* sb/options: Let --source-only-download download releasesChris Johns2020-03-042-3/+2
| | | | | | - The release procedure uses the sb-set-sources command now. Closes #3896
* sb/pkgconfig: Fix python2 issue with caching changesChris Johns2020-03-041-1/+2
| | | | Closes #3893
* sb/python-wrapper: Add python2.7 to aid testingChris Johns2020-03-041-1/+1
|
* sb/pkgconfig: Cache pkgconfig based on a file name not nameChris Johns2020-03-031-7/+9
| | | | | | | | | - Caching on name falsely assumed checks across different config instances in nested build sets as used in vertical stack building was valid. This stopped a valid check for a prefix seeing if a valid BSP config was present. Updates #3893
* sb/config: Add paths checks to %{path ...}Chris Johns2020-03-031-11/+37
| | | | Updates #3893
* sb/config: Expanded nested shell commandsChris Johns2020-03-031-2/+7
| | | | Updates #3893
* windows: Use GNU tar to unpack sourceChris Johns2020-02-121-1/+1
| | | | | | - The bsdtar command does not handle symlinks cleanly, GNU tar does Closes #3868
* freebsd: Fix GDB building on some 12 and higher versionsChris Johns2020-01-211-1/+3
|
* sb/getsources: Fix the repo_mail reference.Chris Johns2019-12-051-1/+1
|
* sb/getsources: Macro right hand values need to be strings.Chris Johns2019-12-051-2/+2
|
* sb: VERSION may not contain a release path or hashesChris Johns2019-12-051-2/+2
|
* Be more resilient against $PATH errorsSebastian Huber2019-12-021-13/+17
| | | | Close #3781.
* sb/setbuilder: Output the mail send failure message on errorChris Johns2019-11-191-1/+5
|
* sb: Align the version processing with rtems-tools.Chris Johns2019-11-189-79/+207
| | | | | | | | | | | - 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
* sb: Add support for a comma separated release path list.Chris Johns2019-11-182-19/+22
| | | | Updates #3814
* sb/getsource: Load the local host overridesChris Johns2019-10-281-0/+47
| | | | | The local host overrides have to be loaded so host specific commands and settings can be found and used.
* sb/getsource: Add RTEMS BSP defaults to fetch packages sources.Chris Johns2019-10-271-2/+13
|
* sb/getsource: Set the correct macro name for getting source.Chris Johns2019-10-271-1/+1
|
* sb/get-source: Add a macro to indicate the get-source command is running.Chris Johns2019-10-271-0/+1
| | | | - Fix GDB's library checks to ignore errors when getting the source.
* sb/config: Add support for line continuation.Chris Johns2019-10-271-2/+14
| | | | | | | | | | - Add line continuation support so empty macros can be used at the end of configure command lines, ie RTEMS kernel. The config parser removes empty lines and wihout this support a trailing line continuation character joins a configure command line to next command. - Fix freetype's gmake support for non-GNU operating systems.
* sb/options: Split options on the first '=' only.Chris Johns2019-10-261-2/+2
| | | | | Split only on the first '=' in an option so BSPOPTS can contain an '='.
* sb/windows: Add the optional cmake command.Chris Johns2019-10-251-0/+1
|
* sb/build: Add -E to '%source setup' to handle tar dependency errors.Chris Johns2019-10-251-1/+25
| | | | | | | | Tar on Windows raises an error if a symlink appears before the target. Windows needs the target to exist before a link can be created. This patch adds support via the -E option to catch the error and rerun the tar command a second time. The symlink should work as the target should exist on the second pass.
* sb: Detect duplicate adds of patches.Chris Johns2019-09-191-1/+7
|
* 5/llvm: Add LLVM as a package for RTEMS.Chris Johns2019-09-166-72/+112
| | | | | | | | | | | | | - Add '%source download <source>' to only download the source and do not unpack and prep. This can used when a package internally needs another source package. - Install the staging root only if it is present. A package may internally build another package that is not staged as it is not suitable for installing. Updates #3250 Updatew #3797
* sb/setbuilder: Add a trace to help installing.Chris Johns2019-09-161-0/+1
|
* sb/check-command: Add a check command wrapperChris Johns2019-09-161-0/+26
|
* sb/config: Escape double quotes on Windows for shell macrosChris Johns2019-09-061-2/+5
| | | | Closes #3792
* freebsd: SVN is optional.Chris Johns2019-09-061-1/+1
|
* sb/setbuilder: Check is mail is valid.Chris Johns2019-08-291-1/+1
|
* sb: Send only one mail when building a BSPChris Johns2019-08-271-46/+68
| | | | - Add support to email a single report if configured to do so.
* sb/download: Add support for a base64 hash stringChris Johns2019-08-271-2/+8
|
* Add support for MX LinuxHimanshu402019-08-241-1/+1
|