438 Commits

Author SHA1 Message Date
Chris Johns
b31d5e2dd9 Fix C++ build support for cross-compiling RTEMS 3rd party packages. 2015-01-23 14:31:25 +11:00
Chris Johns
8197b8ea04 Add the host name to the package name.
Adding the host name results in the tar files created by the
--bset-tar-file and --pkg-tar-files to contain the host name.
This is useful when building Cxc packages.
2015-01-18 15:34:35 +11:00
Chris Johns
818ea245da Minor version number bump. 2015-01-18 11:25:17 +11:00
Chris Johns
3963ac4aae Detect a Cxc build from the options and automatically disabled installing.
This is similar to always providing --no-install on the command when building
a Cxc package.
2015-01-18 11:24:11 +11:00
Chris Johns
0392c5fe6c Provide flags and include paths for the host when building a Cxc. 2015-01-18 11:23:12 +11:00
Chris Johns
e7cbf74fe2 rtems4.11: Update DTC for Moxie to it's new home path.
Add a suitable hash for the build to proceed.

Closes #2202.
2014-12-12 11:22:54 +11:00
Sebastian Huber
6733a85981 sb: Move content to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
e794d0aba9 sb: Add HTML generation to formatter class 2014-12-11 07:50:10 +01:00
Sebastian Huber
28410ebf89 sb: Move build set to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
14e5d2edbb sb: Move git status to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
1f77f9e36b sb: Add XML formatter 2014-12-11 07:50:09 +01:00
Sebastian Huber
97e083a72c sb: Move introduction to formatter classes 2014-12-11 07:50:09 +01:00
Sebastian Huber
5d565849b3 sb: Introduce formatter classes
Use inheritance instead of ifs.
2014-12-11 07:50:09 +01:00
Sebastian Huber
dd51e39fe4 sb: Statically link zlib for GCC on MinGW 2014-12-04 09:00:51 +01:00
Jiri Gaisler
1a0ccb99ac sparc-gdb: use patch for leon2/3 support to sis
Also fixes the can't compute CFA problem.
2014-12-01 08:33:48 +11:00
Chris Johns
5821b02e82 sb: FreeBSD uses clang for cc on version 10 and later. 2014-11-06 08:44:45 +11:00
Chris Johns
85b46b85f1 sb: Provide a default log if none is provided. 2014-10-31 15:11:10 +11:00
Chris Johns
5fdd664b18 sb: Convert the '-' to '_' in symlinks for git repos. 2014-10-31 15:11:10 +11:00
Joel Sherrill
4830e230ec rtems-4.11: Add libjpeg 2014-10-24 17:00:52 -05:00
Karel Gardas
5eb832f296 add support for i386-solaris2 platform 2014-10-07 19:50:59 +11:00
Matt Carberry
cf9d27ee38 Fixes qemu build error.
Since 1.5 qemu defaults to gtk. Since then, the install command triggers
the use of xgettext and msgmerge, both of which are unable to find the
libgettextsrc library without passing LD_LIBRARY_PATH.
2014-09-08 08:49:03 +10:00
Chris Johns
d790668e39 sb: Add support for the standard git protocols for the %source command.
The source selector 'git://' now supports a protocol option that lets
you set the specific protocol git is to use to access a remote
repository.
2014-08-29 13:14:14 +10:00
Hesham ALMatary
183626a1d4 Add support for building bare-metal or1ksim.
This patch adds support to enable RSB to build or1ksim emulator
(the main OpenRISC 1000 simulator) from latest or1ksim github repo.
2014-08-29 11:51:39 +10:00
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