567 Commits

Author SHA1 Message Date
Chris Johns
96d55ab432 sb/pkgconfig: Cache pkgconfig based on a file name not name
- 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
2020-03-03 11:18:05 +11:00
Chris Johns
4295d3d377 sb/config: Add paths checks to %{path ...}
Updates #3893
2020-03-03 11:18:05 +11:00
Chris Johns
175ce0bcb0 sb/config: Expanded nested shell commands
Updates #3893
2020-03-03 11:18:05 +11:00
Chris Johns
5ec0913ada protobufs: Top level project rename. Fix URL path on github. 2020-03-03 11:18:05 +11:00
Chris Johns
22135c9a76 windows: Use GNU tar to unpack source
- The bsdtar command does not handle symlinks cleanly, GNU tar does

Closes #3868
2020-02-12 14:41:14 +11:00
Chris Johns
599c4d7c87 freebsd: Fix GDB building on some 12 and higher versions 2020-01-21 14:46:16 +11: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
ad5d3afea9 sb: VERSION may not contain a release path or hashes 2019-12-05 16:27:10 +11:00
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