781 Commits

Author SHA1 Message Date
Chris Johns
f8e76927bc bare/qemu: Fix %endif type.
Updates #2661.
2016-03-18 14:38:33 +11:00
Chris Johns
e6f96fc41e sb: Fix vairable type in _if.
Updates #2655.
2016-03-18 14:30:27 +11:00
Chris Johns
e12811908f sb: Fix op parsing bug where the string was not created.
Updates #2655.
2016-03-18 14:24:17 +11:00
Chris Johns
2bbb06524b bare/qemu: Use a tarfile is the RSB is released.
Updates #2661.
2016-03-18 13:50:10 +11:00
Chris Johns
87434f6a7c sb: Make the URL output truncate on long long URLs. 2016-03-18 13:34:26 +11:00
Chris Johns
a8d64ad94d 4.11/rtems-kernel: Use the updated common support for conditional building.
Updates #2526.
2016-03-18 12:58:44 +11:00
Chris Johns
bc61e340c4 rtems/kernel: Move the --with-rtems logic in the common file. 2016-03-18 10:52:11 +11:00
Chris Johns
7d7f7749ee sb: Fix %if logical OP parsing.
Updates #2655.
2016-03-18 10:51:58 +11:00
Chris Johns
cdfcc09eac bare: Update or1ksim-master.zip hash
Updates #2657.
2016-03-17 19:47:57 +11:00
Chris Johns
9d4d37347c bare: Correct the libffi-3.0.13 hash.
Updates #2657.
2016-03-17 19:24:15 +11:00
Chris Johns
3fac45e900 bare: Update qemu package source hashes that are missing.
Add support for pkgconfig checks to fail when just downloading the
source so it is actually downloaded on hosts that may have a package
installed.

Updates #2657.
2016-03-17 18:27:47 +11:00
Chris Johns
7e04bc3d98 sb: Fix the sensible url printer on Python3.
Updates #2656.
2016-03-17 18:26:37 +11:00
Chris Johns
ebbfb0fb30 rtems: Remove 4.10 and 4.9 base configuration files.
Updates #2650.
2016-03-17 16:59:04 +11:00
Chris Johns
be67f32883 rtems: Remove 4.9 and 4.10 from the 4.11 branch.
Closes #2650.
2016-03-17 16:54:15 +11:00
Chris Johns
31f33047a2 sb: Change urlib to urllib2 on Python2 and add user agent support.
Some sites block the standard python user agent. Change to Wget
as it seems to make the tested sites behave.

Limit the size of long URLs when logging to the user.

Closes #2656.
2016-03-17 16:47:31 +11:00
Chris Johns
0e22c3c7ff sb: Support --dry-run --with-download for 3rd party RTEMS BSP packages.
The building of 3rd party packages for an RTEMS BSP requires a valid
BSP so the standard method to download the source for releasing does
not work. This change adds support to allow this. The RTEMS BSP support
will not generate an error is no BSP or tools are provided or found.

The change addis logic operators to the %if statement so you can '||'
to 'or' and '&&' to 'and' logic expressions.

A new %log directive has been added to clean up the messages.

A new %{!define ...} has been added to aid checking within logic
expressions.

All command line --with/--without now appear as macros.

Add version.version to get just the RTEMS major and minor version.

Some pkg-config issues have been resolved.

Closes #2655.
2016-03-17 16:39:57 +11:00
Chris Johns
5881078202 rtems/net-mgmt: Switch the net-snmp path to https as SF has changed. 2016-03-17 16:36:59 +11:00
Chris Johns
4ffa1d465e bare/devel/qemu: Add a hash for glib.
Closes #2646.
2016-03-16 17:18:02 +11:00
Chris Johns
8f6fb61d53 bare/devel/qemu: Fix the release URL logic and pkconfig python3 issues.
Closes #2645.
2016-03-16 17:17:52 +11:00
Chris Johns
e70a165d6d sb: Do not expand the package name in a bset file.
If the package references macros yet to be defined an error is
generated. Let the macro expands happen when the package name is
actually used.

Closes #2645.
2016-03-16 17:17:40 +11:00
Chris Johns
84ed68588b sb: Make cvs optional.
Ignore RSB generated files to keep the git dirty status clean.

Closes #2647.
Closes #2748.
2016-03-16 06:04:37 +11:00
Chris Johns
a15c396dd3 rtems-kernel: Fix the --with-rtems/--without-rtems support when released.
Also add:

  --with-rtemsbsp="bsp,bsp,bsp"
  --with-rtems-smp
  --with-rtems-tests
  --with-rtems-tests=sample
  --with-rtems-tests=all

Closes #2526.
2016-03-14 18:20:21 +11:00
Chris Johns
d4a2da8921 sb: Fix the --without-error-report parsing of the label.
Update #2526.
2016-03-14 17:42:51 +11:00
Chris Johns
2b5f69e672 sb: Update download to check the config file for release URL control.
Provide without_release_url support in the configuration file so
the release tarball download of the kernel and tools uses the
release's top level directory and not the sources directory.

Closes #2481.
2016-03-14 16:27:14 +11:00
Chris Johns
858e43bcce sb: Fix build's --with-error-report handling.
This reflects changes in the way the --with/--without options are handled.

Updates #2526.
2016-03-14 15:20:53 +11:00
Chris Johns
a795097477 4.11: Change binutils version to 2.26.
Closes #2637.
2016-03-11 12:43:45 +11:00
Chris Johns
2e54883325 sb: Fix --without-release-url logic.
Updates #2636.
2016-03-10 16:48:38 +11:00
Chris Johns
58a8fd8b5f sb: Add a download option --with-release-url/--without-release-url.
The default without the option is to prepend the release URL to the URL
list to download from the RTEMS FTP site first if the RSB is released. This
option can force the RTEMS FTP to be tried first when not a release,
or you can supply a different URL to download from or you can request
no RTEMS URL is tried first. Eg:

 --with-release-url
 --with-release-url=file://opt/local/cache
 --without-release-url

Move the RTEMS release URL to the default.mc file. Change the URL
to the RTEMS FTP server and do not use the https method of access.

The option's with_arg call was cleaned up to make sense.

Remove the log's raw output of an extra space.

Some download error message formating was cleaned up.

Closes #2636.
2016-03-10 16:30:30 +11:00
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