112 Commits

Author SHA1 Message Date
Chris Johns
e827cc29c0 gdb: Update common to the master version 2022-01-25 17:05:36 +11:00
Chris Johns
0f91a262ec Update the GCC component paths to ones master uses
Closes #4584
2022-01-24 16:16:34 +11:00
Chris Johns
158ad680ae sb: Back port the RTEMS 5 and 6 RSB engine.
- Build GDb first as we do for RTEMS 5 and later

- Update GDB to 9.1 for all archs expect SPARC. The SIS patches
  only apply to 7.9. Disable Python for SPARC

Closes #4111
2020-10-06 12:00:21 +11:00
Chris Johns
62f68d9712 The libexpat project has moved to github. Fetch expat from github.
Closes #3316
2018-03-05 08:37:00 +11:00
Chris Johns
38228039ec 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 #3074
2018-02-07 15:14:32 +11:00
Chris Johns
80cf137146 gcc: Use GNU's FTP rather than the package's home sites that change.
Close #3271
2018-01-18 14:17:39 +11:00
Chris Johns
0a916c3058 gcc: Disable makenfo cause newer verisons 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 branches.

Updates #3027.
2017-07-03 10:00:36 +10:00
Chris Johns
1675a73353 gdb: Build with system readline and use MinGW compilers.
Select MinGW compilers for Windows builds on Windows.

Use the system readline rather than GDB's which does not
handle cmd.exe correctly.

Closes #2681.
2016-04-15 15:26:12 +10:00
Chris Johns
5881078202 rtems/net-mgmt: Switch the net-snmp path to https as SF has changed. 2016-03-17 16:36:59 +11:00
Chris Johns
7309d94031 sb: Add support to GDB to select a specific Python.
Detect a suitable Python version on Windows.

Update #2619.
2016-03-08 22:26:28 +11:00
Chris Johns
c434884af1 Fix pkgconfig for MSYS to allow QEMU to build. 2016-02-24 09:59:29 +11:00
Joel Sherrill
436ec884a8 source-builder/config/qemu-1-1.cfg: Add --disable-smartcard-nss
closes #2547.
2016-01-24 16:03:34 -06:00
Chris Johns
4c491193bb rtems/netsnmp: Disable SMP builds.
NetSNMP breaks building with extra jobs on fast hardware.
2015-07-21 16:57:17 +10:00
Sebastian Huber
fba2549d5c rtems4.11: OpenMP support for ARM, PowerPC, SPARC 2015-07-07 09:33:30 +02:00
Chris Johns
eddfda5be0 config: Add a qemu-snapshot map to the qemu build. 2015-06-16 20:58:19 +10:00
Chris Johns
18cea20a12 devel/qemu: Add support to build VDE if installed.
Check is the VDE development package is installed and if it is
enabled support.
2015-06-05 17:00:58 +10:00
Hesham ALMatary
d758ab9adc Modify GNU's common backend configuration files to build from external sources 2015-05-06 16:20:09 +10:00
Chris Johns
46ec6b52c8 Windows is win32 when testing for the host. 2015-03-07 09:24:51 +11:00
Chris Johns
d4eb08f55a Windows native build fixes.
The testing of building on Windows is done using MSYS2.
2015-02-07 17:58:17 +11:00
Chris Johns
81ccf41bc0 Update all 4.11 archs to newlib-2.2.0-1 and gdb-7.8.2 where possible.
Remove the extra gdb-7.8.1.cfg and added support to allow GDB tar
compression to be version defined. GDB has changed it default to .xz.
2015-02-07 10:46:49 +11:00
Chris Johns
712516ac1e Add Sqlite as a 3rd party package.
Thanks to Wendell P Silva for the excellent Wiki page.
2015-01-28 21:42:46 +11:00
Chris Johns
8a7428c94b Add Google Protocol Buffers as a 3prd party package for RTEMS.
https://developers.google.com/protocol-buffers/
2015-01-23 14:33:19 +11:00
Chris Johns
8197b8ea04 Add the host name to the package name.
Adding the host name results in the tar files created by the
--bset-tar-file and --pkg-tar-files to contain the host name.
This is useful when building Cxc packages.
2015-01-18 15:34:35 +11:00
Chris Johns
e7cbf74fe2 rtems4.11: Update DTC for Moxie to it's new home path.
Add a suitable hash for the build to proceed.

Closes #2202.
2014-12-12 11:22:54 +11:00
Sebastian Huber
dd51e39fe4 sb: Statically link zlib for GCC on MinGW 2014-12-04 09:00:51 +01:00
Jiri Gaisler
1a0ccb99ac sparc-gdb: use patch for leon2/3 support to sis
Also fixes the can't compute CFA problem.
2014-12-01 08:33:48 +11:00
Joel Sherrill
4830e230ec rtems-4.11: Add libjpeg 2014-10-24 17:00:52 -05:00
Matt Carberry
cf9d27ee38 Fixes qemu build error.
Since 1.5 qemu defaults to gtk. Since then, the install command triggers
the use of xgettext and msgmerge, both of which are unable to find the
libgettextsrc library without passing LD_LIBRARY_PATH.
2014-09-08 08:49:03 +10:00
Hesham ALMatary
183626a1d4 Add support for building bare-metal or1ksim.
This patch adds support to enable RSB to build or1ksim emulator
(the main OpenRISC 1000 simulator) from latest or1ksim github repo.
2014-08-29 11:51:39 +10:00
Chris Johns
5d9b1537ac config: Detect a pipe error on command failure. 2014-08-23 13:23:00 +00:00
Chris Johns
257d1e4378 rtems-4.11: Fix building the SPARC simulator.
Add support for simulator options to enable special features of
some gdb simulators.
2014-08-21 22:40:47 +10:00
Chris Johns
aaa015eda0 rtems-4.11: Do not build GDB sim on MinGW32 for some targets.
They are:
  m32c
  microblaze
  mips
  moxie
  powerpc
  sparc
  v850
2014-08-05 22:59:43 +00:00
Chris Johns
af4ef748f2 rtems-bsp: Install net-smp under the BSP if building for RTEMS. 2014-07-26 11:35:21 +10:00
Chris Johns
fdb2b9edc3 rtems-bsp: Install 3rd party packages under a BSP.
Provide the paths so a package built for RTEMS can be installed
under the BSP.

Update NTP to install under the BSP.
2014-07-26 10:44:45 +10:00
Chris Johns
df65d664f5 config: Add net-snmp package for RTEMS. 2014-06-23 10:58:56 +10:00
Chris Johns
72aab85bc6 config: NTP build fails with too many jobs.
Do not use any jobs to build NTP.
2014-06-15 21:36:15 +12:00
Chris Johns
0ffee19316 sb: Add support for building RTEMS 3rd party packages.
Remove the 'opt' from various macros and shell variables.

Add pkgconfig to the checks to make it clear the check is a
pkgconfig check.

Add NTP support as the first package to be built using the RSB.

Split the RTEMS URL's out from the base bset file into a separate
file that be included by other files.

Add an RTEMS BSP configuration file to help abstract the process
of building 3rd party packages.

Clean the cross and canadian cross support up so we can cleanly support
cross and canadian cross building.

Refactor the pkgconfig support and clean up the PC file handling of
loading modules.

Add support for %{?..} to return false if a macro is %{nil}.

Add %{pkgconfig ..} support to allow better control of access RTEMS
pkgconfig files.
2014-06-15 17:40:34 +12:00
Chris Johns
46506f1087 config: Fix the check to disable the gdb simulator.
Check to see if the macro is defined. If not defined define
it with the simulator enabled.
2014-06-02 16:01:39 +10:00
Hesham ALMatary
3a0e5615fa Add support for building rtems-or1k tool-chain - fixed
Configuration files get the following releases:
- binutils-2.24
- newlib-2.1.0
- gcc-4.8.2
- gdb-7.7

Patches to tool-chain are mix of OpenRISC original patches and other
additions to build the previous releases for RTEMS.
2014-06-02 14:54:37 +10:00
Chris Johns
9a15c40e1b sb: Implement %source and %patch to manage source and patches.
Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.
2014-05-13 23:26:09 +10:00
Chris Johns
24473faccd config: Add gcc-4.9.0 configuration support. 2014-05-08 06:05:40 +00:00
Chris Johns
f3b549010d config,sb: Qemu build updates for FreeBSD and the start of MinG32.
Hack round the FreeBSD iconv support in Freebsd 10. In 10 libc now
supports iconv however iconv.h is present under /usr/local.

Start to add support to build qemu for MinGW via a Cxc. This is a
work in progress and contains lots of hidden traps.

In config.py separate out of the canadian build status.
2014-04-08 15:11:00 +10:00
Chris Johns
b77019a91e config: Build without zlib due to errors in psim. 2014-03-26 17:13:47 +11:00
Chris Johns
ed8a66a1a6 config: Add support for gcc-4.8-branch testing. 2014-03-26 17:13:47 +11:00
Chris Johns
0f064bae7c config: Do not build in trace support. 2014-02-14 13:27:36 +11:00
Chris Johns
d9e3dae5f6 config: Set the LD/DYLD temporary path for configure and make.
Both phases of the build need to find the libraries in their temporary
path.
2014-02-13 16:01:03 +11:00
Chris Johns
6ff0672869 config: Set build top for pkg-config. 2014-02-12 13:09:56 +11:00
Chris Johns
7c04790f87 config: Disable werror because recent glibs have warnings. 2014-02-12 13:08:07 +11:00
Chris Johns
f27f7c40f6 config: Update qemu to build on FreeBSD.
Update configuration to build on FreeBSD. This is based on pkg-config
detecting the packages installed on the host.
2014-02-11 10:38:33 +11:00
Chris Johns
56e8d80055 config: Add support to build qemu.
Qemu requires gettext, glib, libffi, and pixman. DTC is built
as a submodule.

On Mavrick provide a pkg-config command so avoid needing a pkgconfig.
The one here is only just good enough to work.

Provide an internal autotools build including libtool so qemu can
be built from git.
2014-02-04 18:38:18 +11:00