29 Commits

Author SHA1 Message Date
Chris Johns
650c6f9933 sb: Use shebang env python
Closes #4037
2020-08-25 21:21:50 +10:00
Chris Johns
599c4d7c87 freebsd: Fix GDB building on some 12 and higher versions 2020-01-21 14:46:16 +11:00
Chris Johns
4b7af07300 5/llvm: Add LLVM as a package for RTEMS.
- Add '%source download <source>' to only download the source
  and do not unpack and prep. This can used when a package
  internally needs another source package.

- Install the staging root only if it is present. A package
  may internally build another package that is not staged as it
  is not suitable for installing.

Updates #3250
Updatew #3797
2019-09-16 08:21:40 +10:00
Chris Johns
05f469b850 freebsd: SVN is optional. 2019-09-06 08:25:43 +10:00
Chris Johns
2c264c1ed6 freebsd: Version 12.0+ has unzip in /usr/bin 2019-05-15 13:13:23 +10:00
Chris Johns
fabe813ec4 bare/devel/qemu: Fix building on FreeBSD. 2018-11-21 16:08:26 +11:00
Chris Johns
13f4c37999 sb: Add support to search for a suitable version of python.
The command python has been removed from upstream python and python2
and python3 is now used. This patch wraps the commands in a shell
script that locates a suitable python to run.

Updates #3537
2018-10-21 09:49:02 +11:00
Chris Johns
902119ec87 freebsd: Update makeinfo and install-info paths on FreeBSD 11.0
Close #2947.
2017-03-26 13:43:26 +11:00
Chris Johns
824f57c613 sb: Only use /usr/local/bin/unzip on FreeBSD.
The base package version is broken and does not unzip all files in a
zip file cleanly.
2015-10-26 15:38:39 +11:00
Nick Withers
d15a7f8861 Don't let a GCC port install override base Clang for FreeBSD 10+ 2015-05-22 12:02:38 +10: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
712ef18988 sb: Add CXX flags support rather than use CFLAGS. 2014-07-25 21:45:01 +10: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
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
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
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
Nick Withers
b7a13abd4b FreeBSD 10 and above no longer have /usr/bin/cvs - allow it to be found in the path (e.g., from a devel/cvs ports install) 2014-01-07 10:24:56 +11:00
Chris Johns
80d5fde1ba Remove /usr/local from build flags. They cause problems with BFD etc. 2013-06-17 10:09:24 +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
c8c60e526f Add svn in /usr/local for FreeBSD. 2013-05-08 09:55:33 +10:00
Chris Johns
0add2eaa70 PR 2108, PR 2109. Add --jobs and --always-clean.
Refactor the options handling in defaults.py to allow the --jobs
option have varing specific parameters. The option supports 'none',
'max' and 'half' or a fraction to divide the number of CPUs or
an integer value which is the number of jobs. The --no-smp has
been removed.

The host specific modules have been changed to set the number of
CPUs in the defaults table.

Fixed the --keep-going to clean up is --always-clean is provided
even if the build has an error.
2013-04-03 14:31:41 +11:00
Chris Johns
b78c1288b2 Patch on FreeBSD needs to have -E to remove empty files. This is the Linux default. 2013-03-21 20:37:15 +11:00
Chris Johns
d7e4900fe7 Add support for GIT.
The git module allows basic access to git. Hosts are now required
to provide git support.

The defaults module now returns options as a list split on '='.
2013-03-03 13:24:19 +11:00
Chris Johns
73f6ad2fe8 Override the bison path on FreeBSD. 2013-02-13 11:35:36 +11:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00