summaryrefslogtreecommitdiffstats
path: root/source-builder/sb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksumsChris Johns2024-04-043-1/+303
|
* sb: Set the uid and gid on POSIX systemsChris Johns2023-12-071-1/+5
| | | | | | This improves performance because it avoids an exec each time the _uid macro is referenced and that can be a number of times for each config parsed.
* sb: Allow _ in downloaded file namesChris Johns2023-12-071-2/+2
|
* sb: No hash on a package is an errorChris Johns2023-11-301-3/+1
|
* sb: Fix Python 3.12 safeConfigParser and invalid escape sequencesChris Johns2023-11-222-3/+3
| | | | Updates #4968
* sb/linux.py: More reliably recognize distributionMichael South2023-11-171-30/+59
| | | | | | | If available, use "distro" package (introduced Python 3.6, back-ported to 2.6) to recognize Linux distributions and versions. Updates #4966
* sb/option: Add the arch to the macros from the --rtems-bsp optionChris Johns2023-05-161-0/+1
|
* sb: Fix the library handling in rtems-build-depChris Johns2023-05-161-7/+10
|
* sb/path: Handle unicode filenames in a source pathChris Johns2023-05-161-6/+20
| | | | | | The change leaves the encoding in that currently exists because I cannot remember why it is there. If an encoding error happens return the same path to see if it will work.
* 6/gdb: fix building on FreeBSD 13.1Chris Johns2023-03-091-7/+9
| | | | | | See https://sourceware.org/bugzilla/show_bug.cgi?id=30214 Closes #4872
* RSB: Mitigate too short error reportsFrank Kühndel2023-01-231-1/+3
| | | | Close #4642
* sb/set-bulder: Fix installing builds when a single buildsetChris Johns2022-10-011-8/+7
| | | | | | | | - Always stage a build - Install if installable and outter most buildset instance Closes #4730
* sb/execute: Fix incremental decoder with --dry-runChris Johns2022-10-011-2/+5
| | | | Closes #4726
* sb/version: Set top from external packageChris Johns2022-09-301-1/+9
|
* sb/execute: Use a decoder that maintains state aross blocksChris Johns2022-09-301-1/+3
| | | | Update #4726
* sb/set-builder: Fix staging and tar file generation with a single config buildChris Johns2022-09-291-16/+6
| | | | Closes #4730
* sb/setbuilder: Install the build when stagging or configured to installChris Johns2022-09-161-3/+6
|
* sb/setbuilder: Do not install if --no-install option is usedChris Johns2022-09-141-1/+2
| | | | - This is a bug introduced in the recent bset tar file changes
* sb/setbuilder: Correctly create build set tar filesChris Johns2022-09-092-24/+39
| | | | | | | | | | - Make a single tarfile for all buildsets built - Use the staging tree as the tarfile source - Use python's tarfile module - Create a config.file object without loading a .cfg file
* sb/build.py: Output build scripts to traceChris Johns2022-09-091-5/+17
| | | | - Only remove the build directory when not a dry run
* sb/config: Correctly handle multiple config pathsChris Johns2022-09-091-27/+25
| | | | | | | | | - Add rtems/config to the config directories searched to better support deployment - Correctly expand the configdir and path searchs Close #4710
* sb/setbuilder: Support line continuationChris Johns2022-09-091-1/+13
|
* sb/rtems-kernel-config-check: Support multiple BSPs and add a test optionChris Johns2022-09-091-20/+22
|
* sb/rtems-kernel-config-check: Reformat using yapfChris Johns2022-09-091-52/+30
|
* sb/get-sources: Fix getting sources with archsChris Johns2022-08-172-35/+123
| | | | | | | | | | | - 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
* source-builder/sb/options.py: Change arc to arch in helpJoel Sherrill2022-05-221-1/+1
|
* source-builder: Handle utf8 in pathKinsey Moore2022-05-161-7/+7
| | | | | | | | | | It's possible for an environment to have unicode characters in its paths. This was recently exposed by the latest newlib update and RSB fails under Python 2.7 in this situation. This resolves the issue by ensuring that the paths are encoded and decoded as necessary. Related issue that caused the change in newlib: https://github.com/golang/go/issues/27836
* sb/setbuilder: Control buildsets using the --with-* command line optionChris Johns2022-05-051-7/+15
| | | | | | | | | | - Expand macros in buildset file names - Add support to buildsets for `%defineifnot` - Update 6 and 7 to support command line build overrides Closes #4646
* sb: %if checks are numeric if the left and right values are numbersChris Johns2022-04-261-34/+35
| | | | | | - If the left and right values are numbers make the check numeric. Update #4631
* sb/linux.py: Simplify "distro" determinationSebastian Huber2022-01-241-7/+3
| | | | | This fixes an issue on Debian 11 which contains "Debian" in /etc/issue (capital D).
* rtems-kernel: Implement kernel recipe using wafRyan Long2021-11-091-0/+147
| | | | Closes #4145
* setbuilder minor list-host optionRobin Mueller2021-07-171-1/+13
| | | | | This adds a way to print the host triplet Can be useful for cross-compiling toolchains
* sb: Merge mailer changes from rtems-toolsAlex White2021-05-263-33/+189
| | | | | | This adds the improved mailer.py script from rtems-tools. Closes #4388
* sb/config.py: Fix operator reconstructionRicardo Cárdenes2021-03-111-3/+3
| | | | Close #4335
* sb/config.py: Fix relational operatorVijay Kumar Banerjee2021-03-101-1/+1
| | | | Close #4319
* 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.