541 Commits

Author SHA1 Message Date
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
Sebastian Huber
d523d4c9d6 sb: Change default prefix
Use OS prefix + "rtems" + $rtems_version as the default prefix to
automatically separate different RTEMS versions.

Close #3675.
2019-01-22 09:57:30 +01:00
Chris Johns
34a99328b4 sb: Fix the RTEMS options after strict option checking was added. 2019-01-22 07:21:28 +01:00
Sebastian Huber
15e9f6c731 Change Linux default prefix to "/opt"
http://refspecs.linuxbase.org/FHS_3.0/fhs/ch03s13.html#purpose14
2019-01-17 11:29:50 +01:00
Sebastian Huber
5f6ad9d08b Fix 'build_max_size_human' ref. before assignment
Close #3568.
2019-01-11 07:24:47 +01:00
Chris Johns
257c9267cf gdb/python: Use python-config for the configuration if found.
- Do not assume the installed paths for the header and library.
  Ask python-config if found.

Close #3537.
2018-12-25 10:15:55 +11:00
Chris Johns
c2d2338759 sb/execute: Port the rtemstoolkit performance fixes for python3
Close #3664.
2018-12-25 10:15:55 +11:00
Chris Johns
fabe813ec4 bare/devel/qemu: Fix building on FreeBSD. 2018-11-21 16:08:26 +11:00
Chris Johns
a9fb57499b sb: Fix pkg-config arg parsing after being wrapped. 2018-11-17 12:37:20 +11:00
Joel Sherrill
84a94f743e rtems-gdb-8.0.1-1.cfg: Add Cygwin patch for ncurses not termcap
This also updates windows.py to distinguish betweem MSYS2 and Cygwin.

closes #3576.
2018-11-12 14:12:47 -06:00
Hesham Almatary
693e6b518d rsb: Update RISC-V's Spike revision 2018-11-12 10:22:35 +00:00
Sebastian Huber
9955b1a430 5: Use in-tree ISL libraries for GCC
Close #3577.
2018-11-06 10:46:51 +01:00
Sebastian Huber
509dfbdd2e Support in-tree CLooG and ISL libraries for GCC
Update #3577.
2018-11-05 07:56:17 +01:00
Chris Johns
96c414c8ff windows: Remove BuildRoot from all configs, add a short tmp path.
Closes #3562.
2018-11-05 15:46:42 +11:00
Joel Sherrill
0794cc37eb rtems-build-dep: Add support for Cygwin
updates #3537.
2018-10-24 10:34:05 -05:00
Chris Johns
e2209fa153 sb: Fix rtems-build-dep to handle various issues
- Remove CR characters on Windows.
- Force the compiler to output English so the pattern
  matching works.

Updates #3537.
2018-10-24 21:43:18 +11:00
Chris Johns
ceeb3be303 sb: Convert any unicode macro values to a string in __str__. 2018-10-24 21:43:18 +11:00
Chris Johns
a0c1f0f358 windows: Remove debugging code that fails on Cygwin. 2018-10-24 09:16:56 +11:00