14 Commits

Author SHA1 Message Date
Chris Johns
b8b0f4452f config: Use ${build_top} to change dir to parent.
On NetBSD with ksh changing into a symlink made PWD the link's
target path so a 'cd ..' returned you to that parent and not
the parent you started from. Record the build top and then
change back to that path.

Change the package names to the actual packages and remove the
extra directory in the build tree. This makes the paths simpler.
2013-09-10 16:19:20 +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
c65b9eb7ec Change the CVS download path to include the module and tag/date. 2013-04-25 15:06:20 +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
7e48e8fb57 Make the expat library static to make relocatable. 2013-04-10 16:07:21 +10: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
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
bcae849cf1 Cleanup the %setup flags 2013-02-28 16:37:27 +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
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
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
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00