summaryrefslogtreecommitdiffstats
path: root/source-builder (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-092-28/+26
| | | | | | | | | - 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
|
* config: Various updates to fix downloading of sourcesChris Johns2022-08-176-13/+18
|
* sb/gcc-common: Allow URL overrides for downloaded sourceChris Johns2022-08-171-7/+26
| | | | | - This allows the URL for an older package to be defined when gcc no longer hosts it
* 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
* newlib: Support --with/without-newlib-tlsSebastian Huber2022-07-212-0/+10
| | | | | | | This RSB option defines if the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE) Newlib configuration option is used or not. Update #4560.
* tools/gnu: Enable LTO in RSB toolsChris Johns2022-06-162-12/+4
| | | | | The change enables the building of LTO into RTEMS tools. Compiler options are required to enable use in an application.
* 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
* 6: Use mpc-1.0.3Sebastian Huber2022-04-271-2/+2
| | | | This is necessary since mpc-1.2.1 requires mpfr-4.1.0.
* 6: Use isl-0.18Sebastian Huber2022-04-271-2/+2
| | | | There are build problems with isl-0.24 on CentOS 7.9.
* 6: Use mpfr-3.1.6Sebastian Huber2022-04-271-2/+2
| | | | There are build problems with mpfr-4.1.0 on macOS.
* gdb: Split python's version into major/minor and check for embed optionChris Johns2022-04-261-1/+4
| | | | Closes #4631
* 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
* gcc: Disable -WerrorSebastian Huber2022-04-251-0/+1
| | | | | For release branches -Werror is disabled by default, however, for the development branch of GCC it is enabled. Make sure that it is always disabled.
* 6/7: Update GCC prerequisites for GCC 10 and 12Sebastian Huber2022-04-222-0/+40
|
* gcc: Move GMP, MPC, MPFR sources to commonSebastian Huber2022-04-2212-74/+3
| | | | Use GCC infrastructure download directory for GCC prerequisites.
* GDB: Prefer Python 3 over 2Sebastian Huber2022-03-211-3/+3
| | | | | | | | | This fixes the build of a recent GDB version: gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)': gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (), ^~~~~~~~~~~~~~~~~~~~~~~
* 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).
* RSB: add GRUB2 to the RTEMS tools and use it in 6/rtems-x86_64 build setKarel Gardas2021-11-181-0/+75
|
* 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
* defaults.mc: Remove any checks for objdump and objcopyChris Johns2021-07-011-3/+2
| | | | | - FreeBSD is removing any dependence on binutils and release 13 has removed objdump. This is fine as we build our own version.
* 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
* Add GMP as a prerequisite for GDBSebastian Huber2020-12-211-0/+61
|
* expat: Disable shared librariesSebastian Huber2020-12-211-1/+2
| | | | | This should ensure that GDB is linked using the static libexpat.a built by the RSB.
* devel/qemu: Update QEMU to 5.2.0-rc1Chris Johns2020-11-132-0/+154
| | | | | - This version of qemu uses meson and ninja to build. You will need to install ninja to build. No checks are made until meson run
* 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-2811-23/+31
| | | | Updates #4037
* sb: Use shebang env pythonChris Johns2020-08-2546-715/+471
| | | | 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-103-329/+0
| | | | Closes #4046
* sb/builder: Remove sb-builder commandChris Johns2020-08-102-56/+0
| | | | Closes #4045
* sb/track: Add a command to track build sets.Chris Johns2020-08-1010-603/+1065
| | | | | | | | - 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.
* sqlite: Change to https for downloading the source package.Chris Johns2020-06-261-3/+3
|
* bare/qemu: Fixes building on FreeBSDChris Johns2020-05-083-257/+139
| | | | | | | | | | | | | | | - Move the qemu config to a common file shared by qemu and qemu4. - Disable nettle on qemu4, FreeBSd complained. - Add some extra git cleaning steps to the git path. These however do not full clean the qemu submodules and it is not worth the effort to try and fix. - The devel/qemu will not build on machines with python set to python3. This will not be fixed, use qemu4. Closes #3966
* 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
|
* devel/dtc: Change the home page to www.devicetree.orgChris Johns2020-04-281-1/+1
|
* source-builder/config/gdb-common-1.cfg: Fix building with Python 3.8Anders Montonen2020-04-281-1/+6
| | | | | | | | | | Starting with Python 3.8, python3-config requires the "--embed" flag to print the flags required for embedding Python in an application. Fixes: error: shell macro failed: /home/anders/work/rtems/rsb/source-builder/sb/rtems-build-dep -c gcc -l : 2: error: no library (-l) provided Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
* 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>