788 Commits

Author SHA1 Message Date
Chris Johns
1acb44a614 Add what is built and how to set the path. 2013-07-18 06:34:07 +10:00
Chris Johns
ebf8a1f0f8 Automtically build the Autotools to bootstrap RTEMS.
This changes adds support to build the autotools if the host installed
version is not a suitable version. Autoconf and automake have hard coded
references to the install prefix and host tools and this makes it impossible
to relocate, that is use in any path other than the install prefix. To
bootstrap automake you need to first build a suitable autoconf and with that
you can built automake for the install prefix. The other complication is
not referencing the install prefix in the path when building in the RSB.
Having the install prefix in the path can result in strange issues appearing
such as gcc using a new assembler feature not present in an older assember
installed under the install prefix.

The process is to build the autotools using an install prefix to an
internal path inside the RSB temporary path and to use that autoconf
to build the version for the install prefix. The internal install
prefix version is also used to bootstrap RTEMS.
2013-07-16 10:02:41 +10:00
Chris Johns
c2effc143b Move newlib to 14-Jul-2013.
Build with Sebastian's pending upstream patch for cxa_atexit and PPC using
SDATA for libgcc.
2013-07-16 10:01:19 +10:00
Chris Johns
bfee78b01b Ignore log_* log files. 2013-07-16 10:00:13 +10:00
Chris Johns
2626dbae7c Fix the Cxc build configuration for the DTC tool. 2013-07-14 09:11:21 +10:00
Sebastian Huber
023b5df870 Fix link in documentation 2013-07-13 13:20:52 +02:00
Chris Johns
a06414cb51 Use target flags that lets the AVR tools build. 2013-06-19 14:41:58 +10:00
Chris Johns
9e0f6afe57 Update the NIOS tools to support Cxc. 2013-06-19 14:37:48 +10:00
Chris Johns
80d5fde1ba Remove /usr/local from build flags. They cause problems with BFD etc. 2013-06-17 10:09:24 +10:00
Chris Johns
8113b768b0 m32c: As per GCC PR 50928 use -O0 to build libgcc. 2013-06-06 15:13:18 +10:00
Dhananjay Balan
54a2a5f304 distro_ver fails on Non-LSB distros. 2013-06-04 08:39:46 +10:00
Chris Johns
dd42a94282 Fix formating. 2013-06-02 11:51:37 +10:00
Chris Johns
a2f47572ee Update doc with file searching details. 2013-06-02 11:48:13 +10:00
Chris Johns
c36107aca3 gcc: RTEMS 4.11 uses 4.8.1 release. 2013-06-01 09:38:54 +10:00
Chris Johns
699a5e5802 Reset the CVS repo each run to remove any applied patches. 2013-06-01 09:20:12 +10:00
Chris Johns
47d7a552fa newlib: Move to 31-May-2013. Fix the stack_t patcher. 2013-06-01 08:49:27 +10:00
Chris Johns
6bf5b3f02b Add Joel's stack_t patch. 2013-05-31 12:56:28 +10:00
Chris Johns
07aee95d69 Patch merged upstream. 2013-05-31 12:56:08 +10:00
Yin Yan
347e182edb fix the problems for the set build of 4.9 and 4.10 1. "expat-2.1.0-1 file not found 2. "%{var} not fount"
I only tested them for 4.9/rtrms-sparc, not sure for rest of them.
2013-05-22 16:57:33 +10:00
Amar Takhar
54c73301d2 Add newlib-remove-machine-powerpc-times_c.diff to powerpc build. 2013-05-22 02:51:27 -04:00
Chris Johns
d925ea3c48 Align the 4.8 and 4.5 configurations with the gcc-common. 2013-05-20 17:19:47 +10:00
Amar Takhar
06c02001ea Fix prepend /moxie/ to path location.
Fixes downloading.
2013-05-17 20:56:02 -04:00
Amar Takhar
7142b8f06b Remove .git in rtem-tools repo after repo name cleanup.
This fixes patch downloading.
2013-05-17 20:55:28 -04:00
Chris Johns
f28a102afb Update the git clone URL. 2013-05-17 16:04:50 +10:00
Chris Johns
54d142615c Clean the paths passed as args. 2013-05-17 12:52:22 +10:00
Cynthia Rempel
5172f31f41 Update the buildset to use automake-1.12.6, which is required by rtems/configure.ac 2013-05-17 10:08:28 +10:00
Amar Takhar
a08fcaebd6 Add moxie patch, this fixes the build. 2013-05-16 18:27:40 +10:00
Chris Johns
b83b596ba0 Fix the core detection on Linux. 2013-05-16 15:34:00 +10:00
Cynthia Rempel
6e583e5d3e Update the automake version to 1.12.6 as required by rtems/configure.ac
Signed-off-by: Chris Johns <chrisj@rtems.org>
2013-05-16 13:46:57 +10:00
Chris Johns
1b40c77e7b Make outputing errors optional. 2013-05-15 13:23:41 +10:00
Chris Johns
53027a92a3 Moxie GDB patch has been merged upstream. 2013-05-15 13:23:08 +10:00
Chris Johns
db65c6aaf1 Support Canadian cross builds on FreeBSD (and other hosts).
Set up the rules to manage the separate host and build setting to
allow a Canadian cross to complete.

Update the scripts to move the build directory and host/build
flags into the defaults so they are common for all build
configurations.
2013-05-15 12:15:14 +10:00
Chris Johns
8a1e7a0ab0 Add better error messages. 2013-05-14 11:12:54 +10:00
Chris Johns
1a56a07605 Add bare/config and move the source-builder/config to it.
Rework the RTEMS build set files to point to the new location.

Move the files into devel, this follows the ports naming in
FreeBSD.

Update the macros, defaults, and options to support this.
2013-05-14 11:08:02 +10:00
Chris Johns
df9c0816e2 Newlib CVS: 13-May-2013. Pick up the atexit changes. 2013-05-13 14:48:31 +10:00
Chris Johns
04f447f979 Show a trace message on copy when with --dry-run. 2013-05-13 14:47:14 +10:00
Chris Johns
ca047f1e12 Better error message on rmdir failure. 2013-05-13 14:46:30 +10:00
Chris Johns
5237f1ccb7 Fix support for Windows (MinGW) native builds using MSYS.
Fix paths that need to be coverted to host format.

The shell expansion needs to invoke a shell on Windows as cmd.exe
will not work.

Munch the paths into smaller sizes for Windows due to the limited
path size.
2013-05-13 14:44:49 +10:00
Chris Johns
e2266055bc Add an RTEMS config wrapper around Makefile.inc.
This is an internal command that wraps the Makefile.inc file in
a BSP so you can get at the configuration values from the
command line without knowing anything about Makefile.inc.

To use:

 $ ../source-builder/sb-rtems-config \
     --rtems=$HOME/development/rtems/4.11 \
     --rtems-bsp=sis \
      rtems_cpu_cflags

The option '--list' lists all available configuration values.
The configuration values are match case insensitive and you can
list a number with each printed on a separate line.

The --rtems-bsp can be in new coming standard of arch/bsp such as
'sparc/sis' or you can just supply the bsp, eg 'sis'.
2013-05-13 12:22:18 +10:00
Chris Johns
e191ce83ac Match output with the bootstrap script. 2013-05-10 18:13:38 +10:00
Chris Johns
8ee84604b0 Add check_output if on Python 2.6, ie CentOS. 2013-05-10 11:18:41 +10:00
Chris Johns
dd8534a39a MIPS patches in newlib head and we are using that. 2013-05-10 08:33:44 +10:00
Chris Johns
bc19332c36 Newlib 8-May-2013: Include Sebastian's atexit changes. 2013-05-08 09:56:59 +10:00
Chris Johns
0e358bf7b7 By default hard reset the RTEMS repo on a build. 2013-05-08 09:56:16 +10:00
Chris Johns
c8c60e526f Add svn in /usr/local for FreeBSD. 2013-05-08 09:55:33 +10:00
Chris Johns
a6d6d31655 Forgot to remove the master branch from the URL. 2013-05-03 10:39:30 +10:00
Chris Johns
6159bfd47f Reset the repo before the pull it avoid any local changes effecting things. 2013-05-03 10:08:06 +10:00
Chris Johns
cd3d3ae4b2 Move to the gcc-4.8 branch until 4.8.1 comes out. 2013-05-03 07:53:41 +10:00
Chris Johns
df56f7ee09 Improve the email reporter. 2013-05-01 10:42:08 +10:00
Chris Johns
c914e1d306 Add tail support to the log. Email the log tail in a failure. 2013-05-01 10:08:36 +10:00