561 Commits

Author SHA1 Message Date
Chris Johns
d5c7c1fc4f config: Fix libffi on Fedora 64bit. 2014-02-12 13:11:38 +11:00
Chris Johns
6ff0672869 config: Set build top for pkg-config. 2014-02-12 13:09:56 +11:00
Chris Johns
7c04790f87 config: Disable werror because recent glibs have warnings. 2014-02-12 13:08:07 +11:00
Chris Johns
c5b5493c19 config: Change pkgconfig to check.
Add the extra actions: ccflags, cflags, ldflags and libs to allow the
fetching of these from pkg-config files.
2014-02-11 14:06:45 +11:00
Chris Johns
55e52f403d sb: Do not scan for libraries by default. 2014-02-11 14:06:07 +11:00
Chris Johns
ee93200397 sb: Check for empty flags and only add when a str. 2014-02-11 14:05:16 +11:00
Chris Johns
dcea9e03c7 sb: Remove the extra path. Use the default. 2014-02-11 10:40:32 +11:00
Chris Johns
f27f7c40f6 config: Update qemu to build on FreeBSD.
Update configuration to build on FreeBSD. This is based on pkg-config
detecting the packages installed on the host.
2014-02-11 10:38:33 +11:00
Chris Johns
c4fefdeb55 sb: Add pkg-config support.
Add a pkg-config look alike command so packages that use pkg-config can
build if pkg-config is not present on a host.

Add support to query package config from configuration scripts.
2014-02-11 10:18:35 +11:00
Chris Johns
56e8d80055 config: Add support to build qemu.
Qemu requires gettext, glib, libffi, and pixman. DTC is built
as a submodule.

On Mavrick provide a pkg-config command so avoid needing a pkgconfig.
The one here is only just good enough to work.

Provide an internal autotools build including libtool so qemu can
be built from git.
2014-02-04 18:38:18 +11:00
Chris Johns
edf60aa82f sb: Do not assume the src is valid. 2014-02-04 18:35:33 +11:00
Chris Johns
53b918e698 sb: Fix downloader url parsing and add submodule git support.
Split the URL by line breaks into separate requests.

With git reset the repo with each run. First perform a hard reset
to remove any local patches and then switch back to master incase
the repo was left on a branch or a detached head.
2014-02-04 18:23:08 +11:00
Chris Johns
5601b9ccae sb: Add submodule support to the git support. 2014-02-04 18:22:03 +11:00
Chris Johns
7c30130169 darwin: Default to cc and c++ for Mavrick. 2014-02-04 18:20:40 +11:00
Chris Johns
00693f913b config: Default _internal_autotools_path to nil when not an internal build. 2014-02-04 18:19:19 +11:00
Chris Johns
d9c1a48137 rtems/gcc: Clean up the RSB version message. 2014-02-04 18:18:21 +11:00
Chris Johns
04aadb631d Check the user's PATH environment variable. 2014-01-30 14:04:42 +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
Chris Johns
1e7eb16aec Fix the link path for GDB expat test.
If doing a Cxc add the ld flags to the CC to allow the expat to
build. This broke with the change to support clang on Mavrick.
2014-01-07 22:30:41 +11:00
Nick Withers
b7a13abd4b FreeBSD 10 and above no longer have /usr/bin/cvs - allow it to be found in the path (e.g., from a devel/cvs ports install) 2014-01-07 10:24:56 +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
822592530c Use the --jobs option. 2013-12-14 12:15:14 +11:00
Chris Johns
5b00910a0d Add notes on building on Maverick. 2013-11-10 12:59:03 +11:00
Chris Johns
68ddf13a90 New Configurations documentation. 2013-11-10 12:30:49 +11:00
Chris Johns
46dcbfc2bc Catch the OSError on the process failing. 2013-11-10 12:30:23 +11:00
Chris Johns
ce0f7a19c3 Add the host to the build set tar file name if no target.
If building a host package use the host as the package tar file
name prefix. This means the tar files will all start with the host
name.
2013-11-10 09:55:37 +11:00
Chris Johns
873016c249 Add Bare support for GNU tools.
Add support to build bare metal tools such as sparc-elf.
2013-11-05 22:09:11 +11:00
Chris Johns
1bae150e67 Add Fedora 18 dependence. 2013-11-05 22:07:48 +11:00
Chris Johns
ae717cbc63 Add a DTC build set. 2013-11-05 14:36:42 +11:00
Chris Johns
4a59eb9562 Split FLAGS into CFLAGS and LDFLAGS.
The clang compiler on MacOS 10.9 (Maverick) generated a warning when
LDFLAGS where passed on the command line. This change lets the RSB
build RTEMS GCC tools on a clean Maverick install.
2013-10-26 10:12:15 +11:00
Chris Johns
3bc9e31df6 Search any path for CVS on Darwin (MacOS). 2013-10-26 10:11:30 +11:00
Chris Johns
0dd3013e71 rtems: Newlib version CVS 15-Sept-2013 2013-09-16 08:25:42 +10:00
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
e0c00e8408 doc: Add NetBSD. 2013-09-10 16:19:09 +10:00
Chris Johns
ef58e217ed sb: Add include/lib paths for /usr/pkg to NetBSD. 2013-09-10 16:18:52 +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
b843e623c4 sb: Do no install with a Cxc build. 2013-09-05 16:32:50 +10:00
Chris Johns
2802080426 sb: Do not create a build set tar file on error.
If creating build set tar files and using --keep-going do not create
the tar file if any part of the set build fails.
2013-09-04 08:45:04 +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
7a691b8280 sb: Fix the config _parse args. 2013-09-03 08:50:06 +10:00
Chris Johns
18b01e82cb config: Update RTEMS to gdb-7.6.1. 2013-09-03 08:33:08 +10:00
Chris Johns
845e92ffce sb: Fix nesting if statements.
Nesting if statements did not correctly process the contents of
the nested if script. This change makes the processing uniform
across all the logic stages.
2013-09-03 08:30:26 +10:00
Chris Johns
72f89c5fc9 sb: Output the new info message.
With the set builder add nesting count support.
2013-09-03 08:29:36 +10:00
Chris Johns
348e4983df sb: Add options log_info.
Provide a log_info method for the options class to log the command line
and the python version string.
2013-09-03 07:59:38 +10:00
Ivan Temp
a4937d8585 sb: Add NetBSD support. 2013-09-01 08:39:12 +10:00
Chris Johns
8dc8b26e3f doc: Add a cross build section. 2013-08-31 12:12:37 +10:00
Chris Johns
d4fa10150a sb: Fixed the errors as found by Gedare. 2013-08-27 12:21:14 +10:00