123 Commits

Author SHA1 Message Date
Andreas Kölbl
d413d7e228 Fix GDB build on ArchLinux
Archlinux provides both, libguile v2.0 and v2.2. GDB states in
configuration its compatibility with both versions of libguile which is
false. The SCM_port interface of libguile was removed in v2.2 and
therefore breaks GDB as a user.

RTEMS does not use libguile and therefore it can be compiled without
support.

https://sourceware.org/bugzilla/show_bug.cgi?id=21104

Close #3054.
2017-07-04 07:59:46 +10:00
Sebastian Huber
2c13f00bf2 Reduce file name length to make Windows happy 2017-06-08 07:07:27 +02:00
Sebastian Huber
94083b0487 Add GCC 7 base configuration 2017-06-06 06:48:55 +02:00
Sebastian Huber
7c121cac4d Fix for GCC 4.9 while building with GCC 6+
See also:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959
2017-06-06 06:48:42 +02:00
Sebastian Huber
1ad33b0f96 Always use GCC provided zlib
Always use the GCC provided zlib to make the compiler as independent of
the host system as possible.
2017-03-31 09:55:08 +02:00
Chris Johns
534332f22a binutils,gcc: Add support to control LTO and Gold. 2016-09-12 12:32:26 +10:00
Chris Johns
6843e47ce3 gdb: Build with system readline and use MinGW compilers.
Select MinGW compilers for Windows builds on Windows.

Use the system readline rather than GDB's which does not
handle cmd.exe correctly.
2016-04-15 15:22:36 +10:00
Chris Johns
f5e724fc07 graphics: Add 3rd party graphics support back to the master branch.
The support is added at the top level and so not lost when we
move to a new version of RTEMS.

The change also moves all 3rd party packages to use a common
rtems-package.bset build set file.

All packages except Microwindows itself build cleanly.
2016-04-15 11:59:30 +10:00
Chris Johns
334c22c12d sb: Add support to GDB to select a specific Python.
Detect a suitable Python version on Windows.

Update #2619.
2016-03-08 22:27:10 +11:00
Chris Johns
b537e55364 Clean up 4.9 build issues.
Add support so 4.9 builds on a recent FreeBSD using clang.
2016-03-01 14:33:22 +11:00
Chris Johns
7c0ded8e9b Fix pkgconfig for MSYS to allow QEMU to build. 2016-02-24 09:56:11 +11:00
Joel Sherrill
14b00fff99 source-builder/config/qemu-1-1.cfg: Add --disable-smartcard-nss
closes #2547.
2016-01-24 13:24:19 -06:00
YANG Qiao
7a9ec6e633 fix nanox patch url 2015-12-16 12:28:28 +11:00
YANG Qiao
3dfedc92db fix t1lib patch url 2015-12-16 12:28:23 +11:00
Sebastian Huber
7164e6195f Add RTEMS 4.12 build set 2015-11-10 13:53:22 +01:00
ragunath
3a3069e83c lwIP configuration & build files
Patch to build lwip with RTEMS Resource builder. It builds the lwip sources and creates a library.
2015-08-11 09:45:02 -05:00
YANG Qiao
01f8d0cb2e fix libjpeg conf 2015-08-10 12:00:53 -05:00
YANG Qiao
68e81c7b27 add nxlib bset 2015-08-10 12:00:53 -05:00
YANG Qiao
a7d2db0241 add nanoX bset 2015-08-10 12:00:53 -05:00
YANG Qiao
457c7ec9fd add t1lib bset (patch url should be changed after it is merged into rtems git server) 2015-08-10 12:00:53 -05:00
YANG Qiao
d9ee8ae401 add freetype2 bset 2015-08-10 12:00:53 -05:00
YANG Qiao
d2ee14c694 add tiff-4.0.2 bset 2015-08-10 12:00:53 -05:00
YANG Qiao
0b80ff5309 add libpng bset 2015-08-10 12:00:53 -05:00
Chris Johns
f936478ef9 rtems/netsnmp: Disable SMP builds.
NetSNMP breaks building with extra jobs on fast hardware.
2015-07-20 14:09:24 +10:00
Sebastian Huber
fba2549d5c rtems4.11: OpenMP support for ARM, PowerPC, SPARC 2015-07-07 09:33:30 +02:00
Chris Johns
eddfda5be0 config: Add a qemu-snapshot map to the qemu build. 2015-06-16 20:58:19 +10:00
Chris Johns
18cea20a12 devel/qemu: Add support to build VDE if installed.
Check is the VDE development package is installed and if it is
enabled support.
2015-06-05 17:00:58 +10:00
Hesham ALMatary
d758ab9adc Modify GNU's common backend configuration files to build from external sources 2015-05-06 16:20:09 +10:00
Chris Johns
46ec6b52c8 Windows is win32 when testing for the host. 2015-03-07 09:24:51 +11:00
Chris Johns
d4eb08f55a Windows native build fixes.
The testing of building on Windows is done using MSYS2.
2015-02-07 17:58:17 +11:00
Chris Johns
81ccf41bc0 Update all 4.11 archs to newlib-2.2.0-1 and gdb-7.8.2 where possible.
Remove the extra gdb-7.8.1.cfg and added support to allow GDB tar
compression to be version defined. GDB has changed it default to .xz.
2015-02-07 10:46:49 +11:00
Chris Johns
712516ac1e Add Sqlite as a 3rd party package.
Thanks to Wendell P Silva for the excellent Wiki page.
2015-01-28 21:42:46 +11:00
Chris Johns
8a7428c94b Add Google Protocol Buffers as a 3prd party package for RTEMS.
https://developers.google.com/protocol-buffers/
2015-01-23 14:33:19 +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
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
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
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