415 Commits

Author SHA1 Message Date
Hesham ALMatary
e7a6292cb5 Fix bug of uncompressing zip files.
This patch uses __unzip macro for uncompressing zip files instead of
the wrong __zip macro which is not defined in defaults.mc file.
2014-08-29 11:51:24 +10:00
Chris Johns
2b4cd57ed8 sb: Fix the if logic for parameters. 2014-08-23 13:26:24 +00:00
Chris Johns
5d9b1537ac config: Detect a pipe error on command failure. 2014-08-23 13:23:00 +00:00
Chris Johns
257d1e4378 rtems-4.11: Fix building the SPARC simulator.
Add support for simulator options to enable special features of
some gdb simulators.
2014-08-21 22:40:47 +10:00
Chris Johns
53290f9bd7 sb: Add a dry run footer to ereports. 2014-08-14 07:10:52 +10:00
Chris Johns
d3629a9bae sb: Fix sources related bugs.
Updates the sources module introduced bugs in the build and download
modules. The commit fixes those modules.
2014-08-12 12:59:22 +10:00
Chris Johns
8db5212665 sb: Complete support for INI file reporting.
The INI file format provides a parsable configuration file format.
2014-08-12 12:22:30 +10:00
Chris Johns
91462f6d5e sb: Add INI format output to the reports.
The INI format report is a way to export a configuration.
2014-08-09 23:51:19 +10:00
Chris Johns
c21f09e060 sb: Update git support. 2014-08-09 23:51:02 +10:00
Chris Johns
4934771892 sb: Add support to get sources and hashses. 2014-08-09 23:49:29 +10:00
Chris Johns
aaa015eda0 rtems-4.11: Do not build GDB sim on MinGW32 for some targets.
They are:
  m32c
  microblaze
  mips
  moxie
  powerpc
  sparc
  v850
2014-08-05 22:59:43 +00:00
Chris Johns
039381478b sb: PR 2184 - Fix the subprocess use on Python < 2.7. 2014-08-05 13:51:08 +10:00
Chris Johns
910081d515 sb: Fix using hashlib's algorithms on python earlier than 2.7. 2014-08-04 18:09:30 +10:00
Chris Johns
09cdaa34d7 Version 0.4.0. 2014-07-29 16:38:41 +10:00
Chris Johns
a083b52921 Add checksum support for downloaded files.
File download by http, ftp, pw support checksum. The %hash
directive provides a means of setting a hash used to
checksum the file.

Files on disk or just downloaded are checked.
2014-07-29 16:35:43 +10:00
Chris Johns
c49e500042 sb: Add visual feedback for http type downloads. 2014-07-29 10:04:55 +10:00
Chris Johns
af4ef748f2 rtems-bsp: Install net-smp under the BSP if building for RTEMS. 2014-07-26 11:35:21 +10:00
Chris Johns
fdb2b9edc3 rtems-bsp: Install 3rd party packages under a BSP.
Provide the paths so a package built for RTEMS can be installed
under the BSP.

Update NTP to install under the BSP.
2014-07-26 10:44:45 +10:00
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