192 Commits

Author SHA1 Message Date
Karel Gardas
b02f7788e8 devel/sis: fix compilation of SIS on Mac OS X
SIS compiles on Mac OS X fine, but without providing --host/--build
configure options. Removing them solves the issue of configure not being
able to recognize arm64-darwin platform.
2022-10-24 21:17:42 +02:00
Karel Gardas
0388c4b8b2 testproc/gsed: fix compilation of GNU sed on Mac OS X
GNU sed compiles on Mac OS X fine, but without providing --host/--build
configure options. Hence removing them solved the issue of configure
not being able to recognize arm64-darwin platform.
2022-10-24 00:33:06 +02:00
Chris Johns
468fc79e8c devel/gcc: Check and build GNU sed if not available on build host
Closes #2300
2022-09-14 16:56:25 +10:00
Chris Johns
27c61da6df textproc/gsed: Add GNU sed build support
Updates #2300
2022-09-14 16:56:18 +10:00
Chris Johns
3cb78b0b81 config: Various updates to fix downloading of sources 2022-08-17 14:52:12 +10:00
Chris Johns
66cfc0052b sb/gcc-common: Allow URL overrides for downloaded source
- This allows the URL for an older package to be defined when
  gcc no longer hosts it
2022-08-17 14:52:12 +10:00
Sebastian Huber
958de508aa newlib: Support --with/without-newlib-tls
This RSB option defines if the --enable-newlib-reent-thread-local
(_REENT_THREAD_LOCAL_STORAGE) Newlib configuration option is used or not.

Update #4560.
2022-07-21 09:05:00 +02:00
Chris Johns
1a24c6cfdb tools/gnu: Enable LTO in RSB tools
The change enables the building of LTO into RTEMS tools. Compiler
options are required to enable use in an application.
2022-06-16 12:45:38 +10:00
Sebastian Huber
3cad3c8cc9 6: Use mpc-1.0.3
This is necessary since mpc-1.2.1 requires mpfr-4.1.0.
2022-04-27 08:29:19 +02:00
Sebastian Huber
7eaefb28ee 6: Use isl-0.18
There are build problems with isl-0.24 on CentOS 7.9.
2022-04-27 07:28:24 +02:00
Sebastian Huber
22cb79b1f0 6: Use mpfr-3.1.6
There are build problems with mpfr-4.1.0 on macOS.
2022-04-27 07:20:27 +02:00
Chris Johns
70f302e08c gdb: Split python's version into major/minor and check for embed option
Closes #4631
2022-04-26 10:13:41 +10:00
Sebastian Huber
ed875ac52f gcc: Disable -Werror
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.
2022-04-25 09:23:02 +02:00
Sebastian Huber
6cf31074fa 6/7: Update GCC prerequisites for GCC 10 and 12 2022-04-22 08:46:06 +02:00
Sebastian Huber
a6ee3cb286 gcc: Move GMP, MPC, MPFR sources to common
Use GCC infrastructure download directory for GCC prerequisites.
2022-04-22 08:40:17 +02:00
Sebastian Huber
571a182d4a GDB: Prefer Python 3 over 2
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 (),
                    ^~~~~~~~~~~~~~~~~~~~~~~
2022-03-21 09:01:01 +01:00
Karel Gardas
dbc11a81b7 RSB: add GRUB2 to the RTEMS tools and use it in 6/rtems-x86_64 build set 2021-11-18 11:06:04 -06:00
Sebastian Huber
4301130dec Add GMP as a prerequisite for GDB 2020-12-21 06:40:51 +01:00
Sebastian Huber
ea77e182d4 expat: Disable shared libraries
This should ensure that GDB is linked using the static libexpat.a built
by the RSB.
2020-12-21 06:40:51 +01:00
Chris Johns
07261837a2 devel/qemu: Update QEMU to 5.2.0-rc1
- 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
2020-11-13 09:24:06 +11:00
Chris Johns
12418190b9 sb/track: Add a command to track build sets.
- 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
2020-08-10 16:19:47 +10:00
Chris Johns
907eabfc3c sqlite: Change to https for downloading the source package. 2020-06-26 11:53:57 +10:00
Chris Johns
955c1c173e bare/qemu: Fixes building on FreeBSD
- 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
2020-05-08 14:33:44 +10:00
Chris Johns
846c979058 devel/dtc: Change the home page to www.devicetree.org 2020-04-28 18:36:41 +10:00
Anders Montonen
d5ad66747c source-builder/config/gdb-common-1.cfg: Fix building with Python 3.8
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>
2020-04-28 08:49:56 +10:00
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