703 Commits

Author SHA1 Message Date
Chris Johns
bce0563a79 sb: Fix typo on the urlparse name in download.py
Updates #2619.
2016-03-10 15:10:06 +11:00
Chris Johns
14392cc60e sb: Download's urllib_parse should point to urlparse on Python2.
Updates #2619.
2016-03-10 15:00:29 +11:00
Chris Johns
eaab26a41f sb: Fix configparser import on Python2 in version.py.
Updates #2619.
2016-03-10 14:52:25 +11:00
Chris Johns
7309d94031 sb: Add support to GDB to select a specific Python.
Detect a suitable Python version on Windows.

Update #2619.
2016-03-08 22:26:28 +11:00
Chris Johns
8268ba61a1 sb: Report platform import errors. 2016-03-08 22:26:17 +11:00
Chris Johns
e02eaa67b6 qemu: Add a package name to create a tarball. 2016-03-07 15:02:25 +11:00
Chris Johns
f88fcf3ae0 sb: Update code base to support Python3 and Python2.
Fix Windows support to allow MSYS2 Python to be used.

Updates #2619.
2016-03-07 13:16:17 +11:00
Chris Johns
76188ee494 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:43:40 +11:00
Chris Johns
01ac76f2f9 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:14:56 +11:00
Chris Johns
e0fab0a504 config: Patch automake-1.12.6 to remove warning on newer perl versions.
Closes #2616.
2016-02-29 10:06:30 +11:00
Chris Johns
a7691f0a38 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:36 +11:00
Chris Johns
773ab3fe06 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:34:54 +11:00
Chris Johns
c434884af1 Fix pkgconfig for MSYS to allow QEMU to build. 2016-02-24 09:59:29 +11:00
Chris Johns
7518590ec2 Fix sb-build to reference the opts correctly. 2016-02-24 09:59:27 +11:00
Chris Johns
34dfc8380d Fix the rtems-tools waf --destdir path on Windows.
Waf requires the drive be added to the destdir path so it installs to a path
the RSB knows. The RSB assumes the destdir contains an MSYS drive path as
seen in the POSIX path. This is default for configure scripts.

Also fix the git URL to pull before the branch command as well as after to
update the branch.

Closes #2605.
2016-02-22 17:43:36 +11:00
Patrick Gauvin
aa3fdad01a Fix RTEMS Tools source symlink generation.
Updates #2495.
2016-01-28 10:59:13 -05:00
Joel Sherrill
436ec884a8 source-builder/config/qemu-1-1.cfg: Add --disable-smartcard-nss
closes #2547.
2016-01-24 16:03:34 -06:00
Chris Johns
12f253cf2e 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:09:27 +11:00
Chris Johns
620150c289 Remove epiphany from 4.11/rtems-all. It does not build. 2015-12-13 16:50:44 +11:00
Chris Johns
2d0498d7e1 Fix the building of the RTEMS Tools from a tar file. 2015-12-13 15:10:04 +11:00
Chris Johns
93cb557d2c Update 4.11/rtems-all to include h8300 and epiphany. 2015-12-13 15:05:03 +11:00
Chris Johns
0e035ede4a Remove RTEMS 4.11 unstable. 2015-12-13 13:53:41 +11:00
Chris Johns
4dce089b57 A VERSION file may have no hashes. 2015-12-11 18:28:26 +11:00
Chris Johns
c07ee80c2c 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.
2015-12-11 16:22:00 +11:00
Chris Johns
8b1fd2be60 Return after an error as a dry-run carries on. 2015-12-11 16:21:44 +11:00
Chris Johns
b6d188bb26 Generate an error if there is no hash when released. 2015-12-11 16:21:09 +11:00
Chris Johns
8a14ef746e Use BZ2 for gdb-7.7. 2015-12-11 16:20:22 +11:00
Chris Johns
cbcfcd0bdb Remove the warning when undefining an undefined macro. 2015-12-11 14:21:29 +11:00
Hesham Almatary
721a00b140 or1k: use newlib snapshot for rtems4.11 2015-12-11 12:26:30 +11:00
Chris Johns
d4baed93ef Set the RTEMS Tools and Kernel version based on a release. 2015-12-11 10:48:56 +11:00
Chris Johns
33142dd1f2 Make CVS optional. We should avoid using it. 2015-12-10 17:30:27 +11:00
Chris Johns
da1bc8c25e 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-10 16:54:40 +11:00
Chris Johns
191eb04c4e Ignore generated XML files. 2015-12-08 12:53:30 +11:00
Chris Johns
d963c6719a Ignore VERSION files in the top directory. 2015-12-08 12:53:13 +11:00
Chris Johns
e8f511157c 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:22:17 +11:00
Hesham Almatary
0d59530b2f doc: zlib1g-dev package needs to be installed on Linux Mint 2015-08-18 09:59:47 -05:00
Chris Johns
4c491193bb rtems/netsnmp: Disable SMP builds.
NetSNMP breaks building with extra jobs on fast hardware.
2015-07-21 16:57:17 +10:00
Chris Johns
7385feb274 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-21 16:56:53 +10:00
Sebastian Huber
fba2549d5c rtems4.11: OpenMP support for ARM, PowerPC, SPARC 2015-07-07 09:33:30 +02:00
Sebastian Huber
8a7660ceb3 rtems4.11: Use GCC 4.9.3 2015-07-07 09:33:23 +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
68f803861e bare/devel: Add missing checksums. 2015-06-05 17:00:21 +10:00
Chris Johns
99768016de sb: Expand each data line. 2015-06-05 16:58:29 +10:00
Chris Johns
97aa07d5c7 devel/qemu: Update to the current head of Qemu's git master branch. 2015-06-03 14:13:35 +10:00
Chris Johns
4bd058ea7c sb: Always generate an XML report. 2015-05-22 12:20:41 +10:00