297 Commits

Author SHA1 Message Date
Chris Johns
4900498e33 sb: Remove duplicates from the config file list. 2014-07-25 22:35:36 +10:00
Chris Johns
712ef18988 sb: Add CXX flags support rather than use CFLAGS. 2014-07-25 21:45:01 +10:00
Chris Johns
fa87409ff0 sb: Fix error handling. 2014-07-25 21:43:50 +10:00
Chris Johns
df65d664f5 config: Add net-snmp package for RTEMS. 2014-06-23 10:58:56 +10:00
Chris Johns
62cb64747f sb: Trace relative paths for nesting configs. 2014-06-17 10:58:30 +12:00
Chris Johns
6c4aeaec51 sb: Fix pkg-config bug with src tracking. 2014-06-17 10:57:44 +12:00
Chris Johns
72aab85bc6 config: NTP build fails with too many jobs.
Do not use any jobs to build NTP.
2014-06-15 21:36:15 +12:00
Chris Johns
0ffee19316 sb: Add support for building RTEMS 3rd party packages.
Remove the 'opt' from various macros and shell variables.

Add pkgconfig to the checks to make it clear the check is a
pkgconfig check.

Add NTP support as the first package to be built using the RSB.

Split the RTEMS URL's out from the base bset file into a separate
file that be included by other files.

Add an RTEMS BSP configuration file to help abstract the process
of building 3rd party packages.

Clean the cross and canadian cross support up so we can cleanly support
cross and canadian cross building.

Refactor the pkgconfig support and clean up the PC file handling of
loading modules.

Add support for %{?..} to return false if a macro is %{nil}.

Add %{pkgconfig ..} support to allow better control of access RTEMS
pkgconfig files.
2014-06-15 17:40:34 +12:00
Chris Johns
339f92f89f sb: Tighten the canadian cross compile detection.
A canadian cross compile needs the build, host and target being
different.

Clean up the error handling.
2014-06-15 17:14:16 +12:00
Chris Johns
120e101ca3 sb: Improve the error handling for setbuilder errors.
If an error happens in the setbuilder code report the error. Errors
in the build phase are logged in the RSB Error Report.
2014-06-15 17:12:10 +12:00
Chris Johns
c6cc169b2d sb: Support Linux Mint.
This support is provided by m86k-user <linux.jutten@xmsnet.nl>.
2014-06-04 19:37:18 +10:00
Chris Johns
11e714675b sb: Fix FreeBSD compiler support.
Only add the bracket flag if clang is being used.
2014-06-04 19:17:23 +10:00
Chris Johns
46506f1087 config: Fix the check to disable the gdb simulator.
Check to see if the macro is defined. If not defined define
it with the simulator enabled.
2014-06-02 16:01:39 +10:00
Hesham ALMatary
3a0e5615fa Add support for building rtems-or1k tool-chain - fixed
Configuration files get the following releases:
- binutils-2.24
- newlib-2.1.0
- gcc-4.8.2
- gdb-7.7

Patches to tool-chain are mix of OpenRISC original patches and other
additions to build the previous releases for RTEMS.
2014-06-02 14:54:37 +10:00
Chris Johns
4a315d364a sb: Fix the source option string for getopts. 2014-06-01 17:57:35 +10:00
Chris Johns
467cace5ba sb: Clean up the bootstrap error handling. 2014-05-20 21:55:51 +10:00
Chris Johns
65d94573a5 sb: Move error report generation to the build phase.
Generate a separate report of each package being built in a build set.
This creates a better list of faults in the case of nesting build sets
such as */rtems-all.
2014-05-15 08:49:34 +10:00
Chris Johns
83586f70c4 sb: Fix the formatting string. 2014-05-14 16:43:40 +10:00
Chris Johns
9a15c40e1b sb: Implement %source and %patch to manage source and patches.
Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.
2014-05-13 23:26:09 +10:00
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