278 Commits

Author SHA1 Message Date
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
527515c380 sb:Use cc and c++ on FreeBSD 10 and higher. 2014-04-28 18:51:59 +10:00
Chris Johns
a14171f524 sb: Add _host_os_version to all supported hosts. 2014-04-10 18:26:42 +10:00
Chris Johns
ecda605161 sb: Fix pkg-config to handle quoted libraries. 2014-04-08 16:16:50 +10:00
Chris Johns
f3b549010d config,sb: Qemu build updates for FreeBSD and the start of MinG32.
Hack round the FreeBSD iconv support in Freebsd 10. In 10 libc now
supports iconv however iconv.h is present under /usr/local.

Start to add support to build qemu for MinGW via a Cxc. This is a
work in progress and contains lots of hidden traps.

In config.py separate out of the canadian build status.
2014-04-08 15:11:00 +10:00
Chris Johns
8c19df26f6 sb: Fix git to clean before updating. 2014-03-26 17:13:47 +11:00
Chris Johns
b77019a91e config: Build without zlib due to errors in psim. 2014-03-26 17:13:47 +11:00
Chris Johns
ed8a66a1a6 config: Add support for gcc-4.8-branch testing. 2014-03-26 17:13:47 +11:00
Chris Johns
0f064bae7c config: Do not build in trace support. 2014-02-14 13:27:36 +11:00
Chris Johns
9797bd151e sb: Clean up using argparse. It is not available on CentOS.
Include the argparse package in the source and use if not available.
2014-02-14 13:26:11 +11:00
Chris Johns
d9e3dae5f6 config: Set the LD/DYLD temporary path for configure and make.
Both phases of the build need to find the libraries in their temporary
path.
2014-02-13 16:01:03 +11:00
Chris Johns
587aa5fb74 sb: Add patchworks support via the pw://... URL. 2014-02-12 15:26:07 +11:00
Chris Johns
faa358340c sb: Fixed from Fedora testing. 2014-02-12 13:13:28 +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
04aadb631d Check the user's PATH environment variable. 2014-01-30 14:04:42 +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
Chris Johns
822592530c Use the --jobs option. 2013-12-14 12:15:14 +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
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
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
ef58e217ed sb: Add include/lib paths for /usr/pkg to NetBSD. 2013-09-10 16:18:52 +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
7a691b8280 sb: Fix the config _parse args. 2013-09-03 08:50:06 +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
d4fa10150a sb: Fixed the errors as found by Gedare. 2013-08-27 12:21:14 +10:00
Chris Johns
5e536f822d sb: Import log for the copytree warnings. 2013-08-27 07:48:10 +10:00
Chris Johns
2f4bd55055 config: Fix the empty case of extra gcc options. 2013-08-27 07:47:44 +10:00