50 Commits

Author SHA1 Message Date
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
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
a48a4781b6 Updated 4.11 tool versions. 2013-04-30 15:01:30 +10:00
Chris Johns
624954ba0b Add macro include support. Use it for building from head.
This change provides a simple way to build all parts of the tools from
version control.
2013-04-26 12:05:53 +10:00
Chris Johns
8f309979dc Add binutils support for snapshot builds. 2013-04-26 12:05:13 +10:00
Chris Johns
9cf846d2a5 Remove all patches. 2013-04-25 16:50:34 +10:00
Chris Johns
8029c99b40 Undefine all possible patches. 2013-04-25 15:06:44 +10:00
Chris Johns
c65b9eb7ec Change the CVS download path to include the module and tag/date. 2013-04-25 15:06:20 +10:00
Chris Johns
9131a562ee Move the common snapshots to the common config tree. Add gdb. 2013-04-24 17:32:49 +10:00
Chris Johns
86b2b4fe63 Add support to check for a valid autoconf for RTEMS. 2013-04-23 16:03:25 +10:00
Chris Johns
4ce931b413 Add CVS download support.
These changes complete the CVS download support.
2013-04-20 21:47:28 +10:00
Chris Johns
649a64c0af Add download git support.
Add support to use a git cloned repo as the source. Move the download
code out of the build module and into a separate module. Add to this
module support for git.

Update the GCC common configuration to support using a symlinked
git repo.

Add checks for all languages.
2013-04-16 14:28:34 +10:00
Chris Johns
b8ee74d356 Add a %testing section to the configuration files. 2013-04-15 13:26:36 +10:00
Chris Johns
ff91af27c3 Add _forced_static to the default.
This is used in the configuration scripts to specify which
libraries you want to be linked as static. For gdb this is
libexpat which is built as part of most build sets.
2013-04-15 11:45:00 +10:00
Chris Johns
9384fbad86 Add setecting a snapshot package. 2013-04-13 10:42:04 +10:00
Chris Johns
7e48e8fb57 Make the expat library static to make relocatable. 2013-04-10 16:07:21 +10:00
Chris Johns
530a9385a7 Add the GCC version message. 2013-04-09 09:25:56 +10:00
Chris Johns
8dedfc741a PR 2106. Fixed the include name. 2013-04-02 20:53:32 +11:00
Chris Johns
2b069dc82a Merge back in the multi-patch support to the gcc common configuration. 2013-04-02 10:17:57 +11:00
Chris Johns
4f26bdb2f0 Add Canadian Cross support.
Add support to build MinGW tools using Cygwin. This is a Canadian cross
build.

Do not expand the directives when parsing a configuration file. Hold
in the package object the text as read from the configuration file. Still
parse the logic but leave the macros. This allows a configuration to be
varied when the build happens. The Canadian cross uses this to build a
build compiler used to build a Cxc runtime.

Add Cxc support to the build module. In the defaults add rm and rmfile
macros, add Cxc paths and pre-build script code.

In the setbuilder check for a Cxc build and if so and the package
allow Cxc build the build host version then the host target
version.

Add cygiwn support to the defaults processing and to the Windows module.
2013-04-01 15:19:56 +11:00
Dhananjay Balan
97c4323654 Add version configuration 2013-03-19 14:34:07 +11:00
Chris Johns
3643c48bfb Add RTEMS 4.9 support for i386 and SPARC. 2013-03-15 15:34:24 +11:00
Chris Johns
e39d5e20ab Allow a build set to provide the source0 path. 2013-03-15 15:34:24 +11:00
Chris Johns
ce4759ef17 Add build set patch option support. 2013-03-12 09:22:40 +11:00
Chris Johns
a420a64794 Fix the patch opts logic typo. 2013-03-12 09:22:01 +11:00
Chris Johns
3bab09c8eb Add support for build set patch options.
Remove the hard coded dependency on all patches bring -p1 and allow
a patch to optionally provide a patch option. The ARM EABI patch is
a -p0 patch.
2013-03-11 13:55:56 +11:00
Chris Johns
8301afa027 Switch LM32 to gcc-4.5.3.
This is the reported known working tool set by the Milkymist project.

Currently this does not build on MacOS. It could be a host issue with
the age of the compiler.
2013-03-09 08:12:47 +11:00
Chris Johns
0606a65718 Clean path when building autoconf and automake.
Autoconf hard codes paths into itself. This change is a first
pass at allowing a clean environment to let automake build. The
ability to 'make install DESTDIR=xxx' autoconf then use it to
build automake needs a clean environment. The purpose is to
allow a prefix that needs root without building and packaging
when root.
2013-03-05 19:43:43 +11:00
Chris Johns
9867b1c97a Update the summary to include version number of parts. 2013-03-04 18:02:49 +11:00
Chris Johns
71329cd291 Fix conditional logic. 2013-03-04 18:02:06 +11:00
Chris Johns
bcae849cf1 Cleanup the %setup flags 2013-02-28 16:37:27 +11:00
Chris Johns
d5fa35c806 RTEMS uses 1.12.2. 2013-02-24 18:17:27 +11:00
Chris Johns
4f5321fa65 Fix support for GCC being build as C++. 2013-02-20 16:39:41 +11:00
Chris Johns
a32dcbdda5 Add unstable.
Add a tree of unstable configurations to track recent gcc source.
2013-02-20 14:46:51 +11:00
Chris Johns
9f04b64113 Architecture arm-rtems4.11 uses EABI.
Switch the arm-rtems4.11 to use EABI. The patch do this is taken from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53325.
2013-02-20 11:18:10 +11:00
Chris Johns
ebc505ccf3 Clean up the configure command for expat. 2013-02-17 11:49:41 +11:00
Chris Johns
b1202fcbc4 Moxie GDB DTC support added
The Moxie GDB simulator uses the DTC (device tree compiler) to
build a device tree. This is added and built before the gdb.
2013-02-14 16:14:38 +11:00
Chris Johns
87fc7e021e Add Moxie support.
Binutils and the compiler build how-ever gdb needs a tool called 'dtc'
to build the simulator. This is not present on my FreeBSD test box.
2013-02-14 12:32:03 +11:00
Chris Johns
d963553b51 Restructure RTEMS Config Files
Add arch build files. This allows archs to have different versions
and patches for specific tools.

Break the RTEMS config directory up into separate directories to
make long term maintenance easier. This required a change to config.py
to handle the config files being in subdirs of the config directory.

The defaults have been updated to include the install SB root so
packages built before a package are available.

Add makeinfo to the required tools. GDB (and others) need it to
build without error.
2013-02-13 11:35:36 +11:00
Chris Johns
aa46b9cec0 Fixes to the NIOS2 build on FreeBSD. 2013-02-12 14:12:40 +11:00
Chris Johns
0328944c57 NIOS2 Tools based on Altera's 4.11 tool set.
Add support for building the NIOS2 tool set. The source
is based on the Altera 4.11 src package. This package has been
split up and placed on the rtems.org server.
2013-02-12 11:46:29 +11:00
Chris Johns
6a2003e687 Add support to turn on the "obsolete" arm-rtems4.11 target.
This indicate a bug in the gcc patches that should be making
arm-rtems4.11 the standard EABI tools for RTEMS.
2013-02-08 10:06:16 +11:00
Chris Johns
bc977297cd Optionally enable deterministic archives. 2013-02-01 12:39:04 +11:00
Chris Johns
3142708cb9 Build the expat library. 2013-02-01 12:38:26 +11:00
Chris Johns
d34a0a9b7f Add rtems-4.11 support for 4.7.2. 2012-11-30 17:13:18 +11:00
Chris Johns
0a48c8a1a9 Remove the _bindir from the path as it breaks on MacOS with python enabled. 2012-11-14 13:45:52 +11:00
Chris Johns
40bab3f709 Use GMP 5.0.5 and so avoid the flex/m4 issue on Linux. 2012-11-14 13:45:01 +11:00
Chris Johns
08f489f59d Fix the install point in the STLink configuration. 2012-11-09 16:42:41 +11:00
Chris Johns
ab18d1af86 Version 2 of the patch has --pipe support. 2012-11-09 15:39:39 +11:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00