399 Commits

Author SHA1 Message Date
Chris Johns
3a972f6102 sb: Update code base to support Python3 and Python2.
Fix Windows support to allow MSYS2 Python to be used.

Updates #2619.
2016-03-07 15:02:58 +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
8dbb3a0ddd sb: Remove http query flags from the file name if present.
The query flags such as '?h=4.11' to select a branch cannot appear
in the file name on Windows. This patch removes the query part from
the file name.

Update #2616.
2016-02-29 10:41:17 +11:00
Chris Johns
23191a3880 sb: bootstrap.py clearing of environ var 'ACLOCAL_PATH' on MSYS2 fails.
With a recent (Feb 2016) pytnon on MSYS2 the clear fails so delete
the variable.

Update #2613.
2016-02-29 10:13:11 +11:00
Chris Johns
056e601477 Wrap the tar command in double quotes for Windows cmd.exe.
Windows cmd.exe does not support a single quote for options. Change to
a double quote.

Closes #2615.
2016-02-25 14:30:31 +11:00
Chris Johns
d897e93e49 Fix sb-bootrap to run on Windows using MSYS2.
Prepend 'sh' to the command so the autoreconf runs in a shell.

Is the first item in the path is a reference to MSYS2 remove it.

Closes #2613.
2016-02-24 17:33:08 +11:00
Chris Johns
7c0ded8e9b Fix pkgconfig for MSYS to allow QEMU to build. 2016-02-24 09:56:11 +11:00
Chris Johns
610ae576b2 Fix sb-build to reference the opts correctly. 2016-02-24 09:56:07 +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
Chris Johns
dc1cd6823b Download source from RTEMS if a release.
Download source from ftp.rtems.org before the package's URL if
a release.

If a user adds a URL via the command line that is used then the
RTEMS release path then the package's URL.

A user can add --url=file://path/../morepath to have the RSB use
a local cache of source on their hard disk. This is useful if you
need to wipe the RSB and start again. Save away the 'sources' and
'patches' directories to a common directory and provide it with via
the --url option using the 'file://' prefix.

Closes #2482.
2015-12-14 16:14:26 +11:00
Chris Johns
9c6843806e A VERSION file may have no hashes. 2015-12-13 15:11:17 +11:00
Chris Johns
7dddcc2647 VERSION is an INI format file.
VERSION is an INI format file with 2 sections:

 1. version
  The version of the release. It contains:
    release = version-string
 2. hashes
  A list of hashes for packages that are formed when creating a release.
  A hash entry is:
    file-name = hash-type checksum

The approach means we do not need to hold hash values in configuration files
which need to be updated when a release is made. The release scripts can
generate the hashes when creating the release.

Update the version to 4.12.
2015-12-11 16:35:31 +11:00
Chris Johns
0661e90610 Return after an error as a dry-run carries on. 2015-12-11 16:31:05 +11:00
Chris Johns
e8ed687ec2 Generate an error if there is no hash when released. 2015-12-11 16:31:05 +11:00
Chris Johns
27a934e46c Remove the warning when undefining an undefined macro. 2015-12-11 16:31:05 +11:00
Chris Johns
dfc4a4f18f Make CVS optional. We should avoid using it. 2015-12-11 12:11:54 +11:00
Chris Johns
40e4222d87 Support released downloading of the RTEMS Tools and RTEMS Kernel.
Add a --without-error-reports flags to reduce the noise on --with-downloading.
2015-12-11 12:11:54 +11:00
Chris Johns
47d703fd8c sb. Add VERSION support for releasing the RSB.
Add support to release the RSB by adding the VERSION file. The file
is a single line with the version.

Fix the reports to include the version. Update the INI file
support to include the details of the build.

Show the GIT or released version when the command starts.

Closes #2480.
2015-12-03 22:25:00 +11:00
Sebastian Huber
7164e6195f Add RTEMS 4.12 build set 2015-11-10 13:53:22 +01: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
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
Chris Johns
6444d5806d Canandian Cross Compiling and RTEMS 3rd party package building Fixes.
The change fixes installing for RTEMS 3rd Party packages where the
RSB considered them Canadian Cross Compiling (Cxc). Fixing the
Cxc issue broke real Cxc builds. The change corrects the issue of
macros being changed in the Cxc and the prep data not being udpated.
The configuration is loaded again after the updated macros. The
macros are also copied and restored to ensure a clean stable base.

The change also introduces --rtems-tools and --rtems-bsp to align
the command line with the waf configure process or RTEMS application.
2015-07-20 13:49:42 +10:00
Sebastian Huber
fba2549d5c rtems4.11: OpenMP support for ARM, PowerPC, SPARC 2015-07-07 09:33:30 +02:00
Chris Johns
dcc0e5cb6e Change license to BSD. 2015-06-22 10:18:49 +10:00
Chris Johns
e9dfd95dd9 Revert "add basic support for OpenBSD"
This reverts commit 83d97daa070d67d177b90796ed22e4044ec9012c.

It contains a GPL license.
2015-06-22 10:14:54 +10:00
Karel Gardas
83d97daa07 add basic support for OpenBSD 2015-06-22 10:12:44 +10:00
Chris Johns
eddfda5be0 config: Add a qemu-snapshot map to the qemu build. 2015-06-16 20:58:19 +10:00
Chris Johns
5b5d6bff74 sb: Fix the downloader file:// URL to copy the file to the local path. 2015-06-16 20:57:06 +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
Chris Johns
99768016de sb: Expand each data line. 2015-06-05 16:58:29 +10:00
Chris Johns
4bd058ea7c sb: Always generate an XML report. 2015-05-22 12:20:41 +10: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
ce60578b8f sb: Fix reporting and installing the reports when building.
Switch the default report to text format.
Fix the report to support the set builder.
2015-05-21 21:49:25 +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
bd16849b11 sb: Update the downloader for 2.7.8 and earlier without a context. 2015-03-30 14:30:56 +11:00
Chris Johns
3237c8ee69 sb: Provide an unverified SSL context to the URL.
The RTEMS servers are causing an exception when downloading patches. The solution is
provided in PEP-0476 (https://www.python.org/dev/peps/pep-0476/#opting-out).
2015-03-29 15:35:00 +11:00
Chris Johns
2e54abc9ba sb: Make the source and patch labels have sortable label.
This patch changes 'patch1' to 'patch0001' so sorting of the macro
keys in the patch macro map returns the order the patches are declared.
The helps mamage patch sets that need a specific order.
2015-03-26 11:12:13 +11:00
Chris Johns
ba0008c372 sb: Do not accept an extra separate option for --with/--without.
The --with/--without that does not have an extra option was
consuming an extra option on the command line.
2015-03-20 13:57:27 +11:00
Chris Johns
b6d6a11abf sb: Change Cygwin support to produce cygwin executables. 2015-03-18 08:54:48 +11:00
Chris Johns
b0f9e30fa4 Add merge to the git and download modules to merge after a fetch.
Update the RTEMS tools and newlib-git to merge after the fetch.
2015-03-18 08:21:34 +11:00