86 Commits

Author SHA1 Message Date
Joel Sherrill
4830e230ec rtems-4.11: Add libjpeg 2014-10-24 17:00:52 -05: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
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
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
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
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
df65d664f5 config: Add net-snmp package for RTEMS. 2014-06-23 10:58:56 +10: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
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
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
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
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
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
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
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
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
00693f913b config: Default _internal_autotools_path to nil when not an internal build. 2014-02-04 18:19:19 +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
2f4bd55055 config: Fix the empty case of extra gcc options. 2013-08-27 07:47:44 +10:00
Chris Johns
f4e903532d config: Fix the use of the extra options. 2013-08-22 13:24:14 +10:00
Chris Johns
75aa2db1c6 config: Add support for extra GCC configure options. 2013-08-22 11:38:10 +10:00
Chris Johns
27d6ea0dd1 config: Add support for iconv encodings.
Turn off iconv support for the AVR because the arrays are too big.
2013-08-14 14:06:30 +10:00
Chris Johns
76d4899a27 config: Control languages from the command line --with/--without options.
Allow a user to include languages by --with-objc or --without-cxx.
2013-08-14 13:56:24 +10:00
Chris Johns
ff0fc8eed0 config: Check the path for a valid autoconf. 2013-08-08 11:43:52 +10:00
Chris Johns
6d32fe7eb0 CONFIG: PR 2127 - Build fails on Linux.
Fix shell tests where '==' was used rather than '='.
2013-07-21 08:55:11 +10:00
Chris Johns
ebf8a1f0f8 Automtically build the Autotools to bootstrap RTEMS.
This changes adds support to build the autotools if the host installed
version is not a suitable version. Autoconf and automake have hard coded
references to the install prefix and host tools and this makes it impossible
to relocate, that is use in any path other than the install prefix. To
bootstrap automake you need to first build a suitable autoconf and with that
you can built automake for the install prefix. The other complication is
not referencing the install prefix in the path when building in the RSB.
Having the install prefix in the path can result in strange issues appearing
such as gcc using a new assembler feature not present in an older assember
installed under the install prefix.

The process is to build the autotools using an install prefix to an
internal path inside the RSB temporary path and to use that autoconf
to build the version for the install prefix. The internal install
prefix version is also used to bootstrap RTEMS.
2013-07-16 10:02:41 +10:00
Chris Johns
2626dbae7c Fix the Cxc build configuration for the DTC tool. 2013-07-14 09:11:21 +10:00
Chris Johns
d925ea3c48 Align the 4.8 and 4.5 configurations with the gcc-common. 2013-05-20 17:19:47 +10:00
Chris Johns
db65c6aaf1 Support Canadian cross builds on FreeBSD (and other hosts).
Set up the rules to manage the separate host and build setting to
allow a Canadian cross to complete.

Update the scripts to move the build directory and host/build
flags into the defaults so they are common for all build
configurations.
2013-05-15 12:15:14 +10:00
Chris Johns
1a56a07605 Add bare/config and move the source-builder/config to it.
Rework the RTEMS build set files to point to the new location.

Move the files into devel, this follows the ports naming in
FreeBSD.

Update the macros, defaults, and options to support this.
2013-05-14 11:08:02 +10:00
Chris Johns
a48a4781b6 Updated 4.11 tool versions. 2013-04-30 15:01:30 +10:00
Chris Johns
624954ba0b Add macro include support. Use it for building from head.
This change provides a simple way to build all parts of the tools from
version control.
2013-04-26 12:05:53 +10:00
Chris Johns
8f309979dc Add binutils support for snapshot builds. 2013-04-26 12:05:13 +10:00
Chris Johns
9cf846d2a5 Remove all patches. 2013-04-25 16:50:34 +10:00
Chris Johns
8029c99b40 Undefine all possible patches. 2013-04-25 15:06:44 +10:00
Chris Johns
c65b9eb7ec Change the CVS download path to include the module and tag/date. 2013-04-25 15:06:20 +10:00
Chris Johns
9131a562ee Move the common snapshots to the common config tree. Add gdb. 2013-04-24 17:32:49 +10:00
Chris Johns
86b2b4fe63 Add support to check for a valid autoconf for RTEMS. 2013-04-23 16:03:25 +10:00
Chris Johns
4ce931b413 Add CVS download support.
These changes complete the CVS download support.
2013-04-20 21:47:28 +10:00
Chris Johns
649a64c0af Add download git support.
Add support to use a git cloned repo as the source. Move the download
code out of the build module and into a separate module. Add to this
module support for git.

Update the GCC common configuration to support using a symlinked
git repo.

Add checks for all languages.
2013-04-16 14:28:34 +10:00
Chris Johns
b8ee74d356 Add a %testing section to the configuration files. 2013-04-15 13:26:36 +10:00
Chris Johns
ff91af27c3 Add _forced_static to the default.
This is used in the configuration scripts to specify which
libraries you want to be linked as static. For gdb this is
libexpat which is built as part of most build sets.
2013-04-15 11:45:00 +10:00