167 Commits

Author SHA1 Message Date
Vijay Kumar Banerjee
190b39e913 source-builder: Add capstone 2020-04-10 08:44:32 -05:00
Hesham Almatary
70775f90cb rsb: Fix Spike build
* There is no all$ target in Spike
* There is no longer --with-fesvr flag since fesvr is source-inlined
by default
2020-04-09 12:38:08 +01:00
Jonathan Brandmeyer
113c65cb56 databases/sqlite: Update to 3.31.1
closes #3927.
2020-04-02 19:08:16 -05:00
Martin Erik Werner
f93fcef875 qemu: Update glib to build on newer gcc
Update the glib version to 2.48.2 in order to fix build failure on newer
gcc[0].

Force internal version of libpcre for glib, since otherwise the build
failed, presumably since libpcre is not provided as a module (maybe it
should?).

Increasing the glib version further to the current latest was not
tested.

[0]
  CC       libglib_2_0_la-gdate.lo
../../glib-2.39.3/glib/gdate.c: In function 'g_date_strftime':
../../glib-2.39.3/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~
2020-03-20 11:50:28 -05:00
Chris Johns
834a0ea88a protobufs: Fix the incorrectly update top level URL for the project.
- Looks like protobuf is now not under Google. I failed to notice that.
2020-03-03 15:38:47 +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
599c4d7c87 freebsd: Fix GDB building on some 12 and higher versions 2020-01-21 14:46:16 +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
8de6b678e8 sb/gdb: Add further getting source checks. 2019-10-27 10:35:30 +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
7d1ce7aa72 rtems/llvm: Add support to build llvm on Windows. 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
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
5684292a80 bare/pcre: Add PCRE 8.40 2019-09-16 08:21:40 +10:00
Chris Johns
3d2f6ea272 bare/t1lib: Format fix. 2019-08-29 13:29:51 +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
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
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
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
fabe813ec4 bare/devel/qemu: Fix building on FreeBSD. 2018-11-21 16:08:26 +11: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
Chris Johns
13f4c37999 sb: Add support to search for a suitable version of python.
The command python has been removed from upstream python and python2
and python3 is now used. This patch wraps the commands in a shell
script that locates a suitable python to run.

Updates #3537
2018-10-21 09:49:02 +11:00
Joel Sherrill
219a4babbc source-builder/config/gcc-4.8-1.cfg: mpc download link changed again 2018-08-29 15:16:37 -05:00
Sebastian Huber
100ddee925 Allow external Newlib sources 2018-07-23 06:59:15 +02:00
Chris Johns
c5715172d9 gdb: Add a gdb-common configuration and have gdb-7-1 include it.
Updates #3460
2018-06-20 09:28:10 +10:00
Sebastian Huber
d8daad23f4 Build only the GDB
The Binutils and GDB share a repository.  In order to build the GDB
from a repository snapshot some components must be disabled.

Update #3453.
2018-06-13 10:43:53 +02:00
Sebastian Huber
9530518b4a Build only the Binutils
The Binutils and GDB share a repository.  In order to build the Binutils
from a repository snapshot some components must be disabled.

Update #3452.
2018-06-13 10:37:46 +02:00
Chris Johns
6ac3ed87d3 bare/devel: Add qemu-couverture support.
Add a build set and configuration to build a QEMU we can use for
coverage testing.
2018-05-01 11:58:43 +10:00
Chris Johns
4b3e0f8e3d The libexpat project has moved to github. Fetch expat from github.
Close #3315
2018-03-05 08:29:40 +11:00
Chris Johns
858b6488e4 gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the
tools have a version string that matches the release.

Close #3294
2018-02-07 15:28:35 +11:00
Hesham Almatary
e274bdfe10 RSB - RISC-V: Add scripts to build RISC-V's simulator
Update #3109
2017-10-28 18:00:42 +11:00
Joel Sherrill
c4b6bf0d6d Enable 64-bit BFD support. Needed on 32bit hosts
Closes #3157.
2017-10-11 21:16:20 -05:00
Sebastian Huber
630e658ccf 4.12: Update to GCC 7.2 2017-08-22 07:23:23 +02:00
Chris Johns
71c76d09e8 gcc: Disable makeinfo cause newer versions do not build gcc-4.8 docs.
Newer makeinfo tools cannot build the existing texinfo in gcc so
disable building it. This will not be fixed on the gcc branch.

Updates #3027.
2017-08-09 09:36:12 +10:00
Andreas Kölbl
d413d7e228 Fix GDB build on ArchLinux
Archlinux provides both, libguile v2.0 and v2.2. GDB states in
configuration its compatibility with both versions of libguile which is
false. The SCM_port interface of libguile was removed in v2.2 and
therefore breaks GDB as a user.

RTEMS does not use libguile and therefore it can be compiled without
support.

https://sourceware.org/bugzilla/show_bug.cgi?id=21104

Close #3054.
2017-07-04 07:59:46 +10:00
Sebastian Huber
2c13f00bf2 Reduce file name length to make Windows happy 2017-06-08 07:07:27 +02:00
Sebastian Huber
94083b0487 Add GCC 7 base configuration 2017-06-06 06:48:55 +02:00
Sebastian Huber
7c121cac4d Fix for GCC 4.9 while building with GCC 6+
See also:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959
2017-06-06 06:48:42 +02:00
Sebastian Huber
1ad33b0f96 Always use GCC provided zlib
Always use the GCC provided zlib to make the compiler as independent of
the host system as possible.
2017-03-31 09:55:08 +02:00
Chris Johns
534332f22a binutils,gcc: Add support to control LTO and Gold. 2016-09-12 12:32:26 +10:00