238 Commits

Author SHA1 Message Date
Chris Johns
cd93d89b08 rtems-4.11: Fix the broken RTEMS build on 4.11. 2014-08-23 13:19:25 +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
05cea12ce1 rtems-4.11: Newlib 19-Aug-2014.
Add the hash for automake.
2014-08-20 05:00:41 +00:00
Chris Johns
9ff6dad568 rtems: Remove the duplicate hashes from the config. 2014-08-19 11:40:20 +00:00
Chris Johns
1c3547fcf7 rtems-4.10: Add checksums. 2014-08-13 20:39:06 +00:00
Chris Johns
8db5212665 sb: Complete support for INI file reporting.
The INI file format provides a parsable configuration file format.
2014-08-12 12:22:30 +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
7c46699472 rtems-4.11: Use gcc-4.9.1 for Microblaze.
Microblaze does not build for gcc-4.8.3.
2014-07-31 13:37:15 +10:00
Chris Johns
7ea4534683 rtems4.11: Add rtems-or1k to rtems-all. 2014-07-30 12:33:43 +10:00
Chris Johns
65f9bced89 config: Format changes. 2014-07-30 12:32:05 +10:00
Hesham ALMatary
a69c400fd8 Refer to newlib-cvs and gcc.4.8.3, and add hashes for patches.
1- Refer to newlib-cvs as it supports OpenRISC/RTEMS by now.
2- Use gcc.4.8.3 release instead of 4.8.2 one.
3- Refer to the new gcc-4.8.3 patch.
4- Add hash feature for patches.
2014-07-30 12:29:27 +10:00
Chris Johns
a083b52921 Add checksum support for downloaded files.
File download by http, ftp, pw support checksum. The %hash
directive provides a means of setting a hash used to
checksum the file.

Files on disk or just downloaded are checked.
2014-07-29 16:35:43 +10:00
Chris Johns
48373509b7 rtems4.11: Change the NIO2 to the 4.9.1.
Uses patch https://patchwork.ozlabs.org/patch/364504/.
2014-07-29 10:04:01 +10:00
Chris Johns
4e502f0475 rtems4.11: Add support for Cortex-M4 and Cortex-R based chips.
Patch is https://patchwork.ozlabs.org/patch/372178/.
2014-07-29 09:41:13 +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
114ef08279 RTEMS 4.11 Update to gcc-4.8.3 with Newlib CVS 26-Jul-2014.
Refactor some of the configurations to make it easier to maintain.

Add gcc-4.9.x support.
2014-07-25 04:55:14 +00:00
Chris Johns
df65d664f5 config: Add net-snmp package for RTEMS. 2014-06-23 10:58:56 +10:00
Chris Johns
a5e37e6980 config: Fix the broken rtems-bsp.cfg. 2014-06-15 21:57:11 +12:00
Chris Johns
912596d5fd config: Use the prefix as the tools path if no --with-tools.
To use tools not in the installed RTEMS path use --with-tools. If
the --with-tools option is not supplied use the --prefix path.
2014-06-15 21:34:38 +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
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
396db466ac config: Update the NIOS2 configuration for the new %source command. 2014-06-01 17:58:55 +10:00
Chris Johns
b09fde006c 4.11/sparc: Update the gdb-7.7 SIS output patch. 2014-05-19 12:50:54 +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
e074e75ef3 4.11/rtems-lm32: Use gcc-4.9.0 and fix gdb simulator build on Windows.
The lm32 arch builds on gcc-4.9.0 so lets move to a recent build rather
than the old 4.5.? build.

Remove stdin and stdout references and the simulator io calls in gdb
so the simulator builds on Windows.
2014-05-09 01:20:38 +00:00
Chris Johns
3adcfbf9d9 rtems/4.11: Fix _host_os for building on FreeBSD. It needs to be _build_os. 2014-05-02 20:48:49 +10:00
Chris Johns
43252be1ba config: Update to gdb-7.7 for a range of archs.
Update lm32, m32c, m32r, m68k, microblaze, mips, powerpc, sh, sparc64
v850.
2014-05-01 05:38:09 +00:00
Chris Johns
491d6b9214 4.11/rtems: Sparc port change to gdb-7.7. 2014-04-28 16:53:33 +10:00
Chris Johns
6fe63b3f55 config: Remove the POSIX thread model patch.
Switch back the RTEMS thread model now it is fixed for SMP. This also
works for some tests that where failing.
2014-04-28 12:19:16 +10:00
Joel Sherrill
d812ad5b46 4.11/rtems-m32c.bset: Enable building gcc again 2014-04-16 13:05:30 -05:00
Chris Johns
9d61bc9bb2 rtems/4.11: moxie switch to gdb-7.7.
Remove the binutils patches as these have been merged upstream.
2014-04-16 14:03:35 +10:00
Chris Johns
3c514b22ef rtems/4.11: i386 switch to gdb-7.7. 2014-04-16 13:57:44 +10:00
Chris Johns
6b7b22ac72 config: Use _host_os for conditional checks. 2014-04-10 18:27:17 +10:00
Chris Johns
9ea19cf760 config: Update to gdb-7.7. for arm, avr, bfin, h8300. 2014-04-10 18:23:26 +10:00
Chris Johns
7a6d42e01b config: Fix for sim common code on Mavrick. 2014-04-10 18:22:23 +10:00
Chris Johns
8ac8ebf8c5 config: Add gdb-7.7 support. 2014-04-09 15:07:54 +10:00
Chris Johns
a1bba9d67b config: Make FreeBSD 10 port patch specific to FreeBSD. 2014-04-09 15:07:29 +10:00
Chris Johns
ed8a66a1a6 config: Add support for gcc-4.8-branch testing. 2014-03-26 17:13:47 +11:00
Joel Sherrill
40d25dc8fe 4.11/rtems-v850.bset: Add gcc 4.8.2 patch 2014-03-20 15:49:08 -05:00
Chris Johns
9b1ae2170a freebsd: Add support for FreeBSD 10.0.
GDB did not build out of the box on FreeBSD 10.0 due to the iconv move
to libc effecting the gettext port with Python. The patch provided is
from the gdb port (devel/gdb) and add the LDFLAGS to the link command line
when Python is used and this adds /usr/local/lib if needed.
2014-03-20 11:06:10 +11:00
Chris Johns
d9c1a48137 rtems/gcc: Clean up the RSB version message. 2014-02-04 18:18:21 +11:00
Chris Johns
2be445d2aa 4.11/lm32: Fix the move to newlib 2.1.0. 2014-01-21 14:09:47 +11:00
Chris Johns
53141b4975 4.11: Move to the released newlib-2.1.0. 2014-01-21 12:03:30 +11:00
Chris Johns
16e469a3df 4.11/sparc/gdb: Use SIS patch to fix gdb outout and run fail. 2014-01-18 17:29:39 +11:00
Alan Cudmore
44e82d8896 Removed check for texinfo 5.x. Binutils 2.24 and gcc 4.8.2 build with GNU texinfo 5.1
This is for RTEMS Source Builder. Binutils 2.23.x did not build on
Ubuntu 13.10 because of texinfo 5.1. The problem is fixed in
Binutils 2.24, so the check for texinfo 5.x is no longer needed for
this configuration.
2013-12-23 16:46:38 +11:00
Chris Johns
69dca93af5 Update to binutils 2.24, gcc 4.8.2, newlib 11-Dec-2013 and gdb 7.6.2.
Note, some architectures remain broken with the new gcc.
2013-12-14 12:21:27 +11:00
Chris Johns
0dd3013e71 rtems: Newlib version CVS 15-Sept-2013 2013-09-16 08:25:42 +10:00
Chris Johns
f4a8a421fe rtems: Revert gdb to gdb-7.6 as gdb-7.6.1 fails. 2013-09-06 15:56:59 +10:00
Chris Johns
169619c1f8 config: Disable building RTEMS by default.
To build use --with-rtems.
2013-09-03 09:20:17 +10:00
Chris Johns
18b01e82cb config: Update RTEMS to gdb-7.6.1. 2013-09-03 08:33:08 +10:00