534 Commits

Author SHA1 Message Date
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
40442df9ab doc: Add RTEMS 3rd Party package building instructions. 2014-07-28 15:01:13 +10: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
4900498e33 sb: Remove duplicates from the config file list. 2014-07-25 22:35:36 +10:00
Chris Johns
2eb764e389 bare: Add support for building gcc-4.9.1 and newlib-2.1.0. 2014-07-25 21:46:34 +10:00
Chris Johns
712ef18988 sb: Add CXX flags support rather than use CFLAGS. 2014-07-25 21:45:01 +10:00
Chris Johns
fa87409ff0 sb: Fix error handling. 2014-07-25 21:43:50 +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
cbc5332e1d bare: Update libusb to 1.0.18.
Add a build set file for libusb.
2014-06-23 19:15:51 +10:00
Chris Johns
df65d664f5 config: Add net-snmp package for RTEMS. 2014-06-23 10:58:56 +10:00
Chris Johns
62cb64747f sb: Trace relative paths for nesting configs. 2014-06-17 10:58:30 +12:00
Chris Johns
6c4aeaec51 sb: Fix pkg-config bug with src tracking. 2014-06-17 10:57:44 +12:00
Chris Johns
a5e37e6980 config: Fix the broken rtems-bsp.cfg. 2014-06-15 21:57:11 +12: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
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
Chris Johns
339f92f89f sb: Tighten the canadian cross compile detection.
A canadian cross compile needs the build, host and target being
different.

Clean up the error handling.
2014-06-15 17:14:16 +12:00
Chris Johns
120e101ca3 sb: Improve the error handling for setbuilder errors.
If an error happens in the setbuilder code report the error. Errors
in the build phase are logged in the RSB Error Report.
2014-06-15 17:12:10 +12:00
Chris Johns
cbf576e923 bare: Add GSoC QEMU patches for CAN bus support. 2014-06-11 18:03:56 +12:00
Chris Johns
578405eccb bare: Add a build set for building libtool. 2014-06-11 18:02:56 +12:00
Chris Johns
c6cc169b2d sb: Support Linux Mint.
This support is provided by m86k-user <linux.jutten@xmsnet.nl>.
2014-06-04 19:37:18 +10:00
Chris Johns
11e714675b sb: Fix FreeBSD compiler support.
Only add the bracket flag if clang is being used.
2014-06-04 19:17:23 +10: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
396db466ac config: Update the NIOS2 configuration for the new %source command. 2014-06-01 17:58:55 +10:00
Chris Johns
4a315d364a sb: Fix the source option string for getopts. 2014-06-01 17:57:35 +10:00
Chris Johns
467cace5ba sb: Clean up the bootstrap error handling. 2014-05-20 21:55:51 +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
65d94573a5 sb: Move error report generation to the build phase.
Generate a separate report of each package being built in a build set.
This creates a better list of faults in the case of nesting build sets
such as */rtems-all.
2014-05-15 08:49:34 +10:00
Chris Johns
83586f70c4 sb: Fix the formatting string. 2014-05-14 16:43:40 +10:00
Chris Johns
e249bd1db6 doc: Use the internal asciidoc tool. 2014-05-14 16:38:50 +10:00
Chris Johns
e119c6a05e doc: Update the documentation for the new source and patch. 2014-05-14 16:38:24 +10:00
Chris Johns
1b2919100b config: Mirgrate the remaining configs. 2014-05-14 16:37:46 +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
24473faccd config: Add gcc-4.9.0 configuration support. 2014-05-08 06:05:40 +00:00
Chris Johns
5850ac9018 sb: Fix the testing commit for FreeBSD. Used this to test error reporting. 2014-05-08 13:24:00 +10:00
Chris Johns
74da24cb61 sb: Generate an error report on an error.
Generate an error report users can send to the mailing list with
error details.
2014-05-08 13:20:29 +10:00
Chris Johns
2a6acc7267 config: Fix the host and build options for Canadian cross builds.
The ARM on 4.9.0 with clang fails and needs an extra option and
this is only valid building the build cross compiler. This change
fxies the host and build flags so they only apply where needed.
2014-05-04 06:22:46 +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
527515c380 sb:Use cc and c++ on FreeBSD 10 and higher. 2014-04-28 18:51:59 +10: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
a14171f524 sb: Add _host_os_version to all supported hosts. 2014-04-10 18:26:42 +10:00