Commit Graph

608 Commits

Author SHA1 Message Date
Sebastian Huber
e26d86f32b Use user ID number instead of name
This helps to avoid issues with user names which contain space
characters.

Close #3830.
2019-12-03 08:16:23 +01:00
Sebastian Huber
784f518df4 Be more resilient against $PATH errors
Close #3781.
2019-12-02 09:45:10 +01:00
Chris Johns
074ef0c6cd sb/setbuilder: Output the mail send failure message on error 2019-11-19 11:19:43 +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
6950f22007 sb: Add support for a comma separated release path list.
Updates #3814
2019-11-18 11:28:38 +11:00
Hesham Almatary
cd67edb7ca rsb: Update RISC-V's Spike revision
Latest Spike integrated fesvr in its source directory, so there
is no separate fesvr anymore.

Also use a revision of Spike that fixes the file permissions
when getting installed.
2019-11-12 10:44:51 +00: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
f4b75f466c sb/default: Add _dry_run as a default. 2019-10-27 18:24:05 +11:00
Chris Johns
8de6b678e8 sb/gdb: Add further getting source checks. 2019-10-27 10:35:30 +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
b0e861cb0f sb/defaults: Provide a default for _rsb_getting_source. 2019-10-27 08:45:24 +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
9b5017f898 sb/config: Add support for line continuation.
- 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.
2019-10-27 08:17:23 +11:00
Chris Johns
fab7197c1b sb/options: Split options on the first '=' only.
Split only on the first '=' in an option so BSPOPTS can contain
an '='.
2019-10-26 06:52:07 +11:00
Chris Johns
7d1ce7aa72 rtems/llvm: Add support to build llvm on Windows. 2019-10-25 14:12:33 +11:00
Chris Johns
a9815d91f0 sb/windows: Add the optional cmake command. 2019-10-25 14:12:33 +11:00
Chris Johns
591deae6d7 sb/build: Add -E to '%source setup' to handle tar dependency errors.
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.
2019-10-25 14:12:33 +11:00
Joel Sherrill
68870df775 Update Spike RSB recipe and correct installed permissions
Updates #3802.
2019-10-23 17:54:10 -05:00
Chris Johns
841120ec95 sb: Detect duplicate adds of patches. 2019-09-19 09:40:36 +10:00
Chris Johns
4b7af07300 5/llvm: Add LLVM as a package for RTEMS.
- 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
2019-09-16 08:21:40 +10:00
Chris Johns
b3b5ca9ec3 sb/setbuilder: Add a trace to help installing. 2019-09-16 08:21:40 +10:00
Chris Johns
5684292a80 bare/pcre: Add PCRE 8.40 2019-09-16 08:21:40 +10:00
Chris Johns
9725bad7fd sb/check-command: Add a check command wrapper 2019-09-16 08:21:40 +10:00
Chris Johns
d8b2719ae6 sb/config: Escape double quotes on Windows for shell macros
Closes #3792
2019-09-06 11:49:28 +10:00
Chris Johns
05f469b850 freebsd: SVN is optional. 2019-09-06 08:25:43 +10:00
Chris Johns
3d2f6ea272 bare/t1lib: Format fix. 2019-08-29 13:29:51 +10:00
Chris Johns
2051e6ef9f sb/defaults: Add LDLIBS as some packages use this rather than LIBS. 2019-08-29 13:28:51 +10:00
Chris Johns
8bedf509be sb/setbuilder: Check is mail is valid. 2019-08-29 13:28:19 +10:00
Chris Johns
cdd5aef6a9 sb: Send only one mail when building a BSP
- Add support to email a single report if configured to do so.
2019-08-27 21:20:12 +10:00
Chris Johns
61ce77bcb5 sb/download: Add support for a base64 hash string 2019-08-27 11:02:53 +10:00
Himanshu40
378d541fbc Add support for MX Linux 2019-08-24 16:40:02 +10:00
Jiri Gaisler
4c51cd9c4b Added qemu 4.1.0 as bare target
* target name is devel/qemu4, old qemu preserved as devel/qemu
2019-08-22 20:09:54 +02:00
Jiri Gaisler
0487ce69ba Revert commit that breaks sis installation 2019-08-10 17:52:36 +02:00
Gedare Bloom
4f903fb57c Adjust gdb-python checks 2019-07-29 15:12:50 -06:00
Chris Johns
5eb4282eb4 devel/sis: Fix building the SIS on FreeBSD
- Update to SIS 2.17 which has internal readline support for
  the hosts which do not have readline.

Closes #3763
2019-07-23 21:47:53 +10:00
Chris Johns
831ae05364 rtems/bsp: Build packages for the beagle BSP.
Closes #3769
2019-07-22 09:36:38 +10:00
Chris Johns
b1c2cb4f72 sb/setbuilder: Support staging of build set build before installing.
- Staging lets build sets use previously built build sets.

- Fix the rtems-bsp builds to support staging.
2019-07-21 21:09:34 +10:00
Chris Johns
f68f0d94c0 sb/options: Update copyright year to 2019. 2019-07-21 21:09:34 +10:00
Chris Johns
b90b749f23 sb/config: Add triplet processing command. 2019-07-21 21:09:34 +10:00
Chris Johns
8db33fbe43 rtems: Add kernel, libbsd and BSP building as packages. 2019-07-21 21:09:34 +10:00
Chris Johns
8922c8bbb0 sb/config: Fix GDB probes when using python-config.
- Fix the config file handling of shell calls where the shell
  command has nesting braces.
- Fix the bool check to support a '!' next to the check value.
2019-07-21 21:09:34 +10:00
Chris Johns
c799e04a8f 5/packages: Add curl and update all packages with RTEMS 5 and LibBSD
- Update rtems-bsp support to correctly handle hosts for BSP.
- Clean up the options for a BSP.
- Check all RTEMS 5 packages and add 5/rtems-packages for all that build.
- Update download locations and checksum of all packages.

- The work requires the kernel and Libbsd hacve the same prefix.
2019-07-21 21:09:34 +10:00
Jiri Gaisler
8156748bd2 Add bare target to build standalone sis (devel/sis) 2019-06-18 20:27:52 +02: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
Chris Johns
ad56c6b1c4 sb: Fix error handling on thread exceptions when bootstraping. 2019-05-19 10:39:39 +10:00
Chris Johns
2c264c1ed6 freebsd: Version 12.0+ has unzip in /usr/bin 2019-05-15 13:13:23 +10:00
Chris Johns
0956a2c089 sb/config: Fix os and arch conditional logic.
Correctly split the argument list and check each element.

Closes #3743
2019-05-07 09:13:12 +10:00
Chris Johns
98588a5596 sb/rtems-build-dep: Fix arg check loop, removes stray 0 in build. 2019-02-10 05:12:04 +11:00
Sebastian Huber
f07504d271 Use HTTPS instead of FTP
FTP is an outdated protocol and blocked by some firewalls.
2019-01-23 13:41:30 +01:00