1477 Commits

Author SHA1 Message Date
Chris Johns
383f7e6690 sb: Add --rsb-file options to %source and %patch to set a file name.
Override the automatic file name of a downloaded file and use the file
name provided by the option. This is useful if the URL has no meanful
file that can be automatically extracted from the URL.
2016-04-15 11:59:30 +10:00
Chris Johns
c98555c5f2 sb: Do not filter -f options from a BSP. 2016-04-15 11:59:30 +10:00
Joel Sherrill
30783e3cf3 4.12/rtems-or1k.bset: Update newlib to 2.4.0 2016-04-13 13:11:20 -05:00
Joel Sherrill
3343562481 4.12/rtems-m32c.bset: Update to newlib 2.4.0 2016-04-11 08:25:03 -05:00
Joel Sherrill
74bb278709 4.12/rtems-epiphany.bset: Update to newlib 2.4.0 2016-04-11 08:25:03 -05:00
Joel Sherrill
21650e51a7 4.12/rtems-default.bset: Update to gcc 6.20160327 and newlib-2.4.0 2016-04-10 13:59:14 -05:00
Joel Sherrill
f96fdc6022 4.12/rtems-moxie.bset: Include dtc needed by gdb build 2016-04-03 14:10:30 -05:00
Stefan Wallentowitz
eac749bb80 Bump OpenRISC versions
Bump the OpenRISC toolchain to newer versions.

* Binutils to 2.26
* GCC to 4.9.3
* GDB to 7.11

updates #2669
2016-03-24 16:19:03 -04:00
Chris Johns
29819a2719 sb: fix the if logic to handle directives in if statements.
Directives in if statements end at the end of an if. The cannot
change or split across directive boundaries.

Add more trace detail to config.py.

Updates #2661.
2016-03-19 17:25:34 +11:00
Chris Johns
19a3cb98e2 bare/qemu: Use git if the RSB is not release or without a release URL.
Updates #2661.
2016-03-18 17:03:19 +11:00
Chris Johns
ff9ce9a3ff bare/qemu: Fix %endif type.
Updates #2661.
2016-03-18 14:41:03 +11:00
Chris Johns
721fbe05a1 sb: Fix vairable type in _if.
Updates #2655.
2016-03-18 14:41:03 +11:00
Chris Johns
eb252061aa sb: Fix op parsing bug where the string was not created.
Updates #2655.
2016-03-18 14:41:03 +11:00
Chris Johns
a15650c97d bare/qemu: Use a tarfile is the RSB is released.
Updates #2661.
2016-03-18 14:41:03 +11:00
Chris Johns
d44b4d243f sb: Make the URL output truncate on long long URLs. 2016-03-18 13:35:05 +11:00
Chris Johns
07eef425f1 4.12/rtems-kernel: Add default support to build a kernel if asked too. 2016-03-18 10:50:59 +11:00
Chris Johns
a102424f67 rtems/kernel: Move the --with-rtems logic in the common file. 2016-03-18 10:49:55 +11:00
Chris Johns
8bde727065 sb: Fix %if logical OP parsing.
Updates #2655.
2016-03-18 10:45:28 +11:00
Chris Johns
52cb466a6d bare: Update or1ksim-master.zip hash
Updates #2657.
2016-03-17 19:48:54 +11:00
Chris Johns
c9ea98406f bare: Correct the libffi-3.0.13 hash.
Updates #2657.
2016-03-17 19:25:13 +11:00
Chris Johns
db8ec8c99e 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:30:13 +11:00
Chris Johns
89a94d0486 sb: Fix the sensible url printer on Python3.
Updates #2656.
2016-03-17 18:30:13 +11:00
Chris Johns
38ed59a301 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:50:05 +11:00
Chris Johns
1bbb7666a0 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:49:56 +11:00
Chris Johns
b4800869ef bare/devel/qemu: Add a hash for glib.
Closes #2646.
2016-03-16 17:16:24 +11:00
Chris Johns
ed86b4b006 bare/devel/qemu: Fix the release URL logic and pkconfig python3 issues.
Closes #2645.
2016-03-16 17:14:45 +11:00
Chris Johns
52561d9d95 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 16:53:02 +11:00
Chris Johns
e7649747c8 4.11: Remove from master.
Updates #2649.
2016-03-16 15:56:46 +11:00
Chris Johns
08aa888205 4.12/gdb-7.11: Add ERC32 patches to fix the simulator.
Updates #2644.
2016-03-16 15:51:24 +11:00
Chris Johns
276fdc488e rtems/4.12: Add hash to gdb-7.11. 2016-03-15 13:25:39 +11:00
Chris Johns
33308d1aa3 sb: Make cvs optional.
Ignore RSB generated files to keep the git dirty status clean.

Closes #2647.
Closes #2748.
2016-03-15 10:55:23 +11:00
Chris Johns
b290154950 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:23:07 +11:00
Chris Johns
8d0e377a28 sb: Fix the --without-error-report parsing of the label.
Update #2526.
2016-03-14 17:44:04 +11:00
Chris Johns
6e490ae1e1 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:23:19 +11:00
Chris Johns
e8f351915e 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:19:29 +11:00
Chris Johns
703c85433e 4.12: Update GDB to gdb-7.11. 2016-03-14 15:13:24 +11:00
Joel Sherrill
fc87573adc 4.12/rtems-moxie.bset: Update to match default RTEMS toolset 2016-03-11 13:28:37 -06:00
Goetz Pfeiffer
8298f72cfc Bugfix: gdb-7.3.1 for rtems 4.10 couldn't be built with modern texinfo.
This is fixed by patch file gdb-7.3.1-rtems4.10-20151123.diff from the
rtems-tools.git repository.

Close #2524.
2016-03-10 11:07:43 +01:00
Goetz Pfeiffer
a68334f244 Bugfix: gcc-4.4.7 for rtems 4.10 couldn't be built with modern texinfo.
This is fixed by patch file gcc-core-4.4.7-rtems4.10-20151123.diff from the
rtems-tools.git repository.

Update #2524.
2016-03-10 11:05:57 +01:00
Goetz Pfeiffer
4dd4e9af00 Bugfix: binutils-2.20.1 for rtems 4.10 couldn't be built with modern texinfo.
This is fixed by patch file binutils-2.20.1-rtems4.10-20151123.diff from the
rtems-tools.git repository.

Update #2524.
2016-03-10 11:02:57 +01:00
Chris Johns
84238b95fc sb: Fix --without-release-url logic.
Updates #2636.
2016-03-10 16:49:59 +11:00
Chris Johns
d3fa158109 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:32:49 +11:00
Chris Johns
62f76d9817 sb: Fix typo on the urlparse name in download.py
Updates #2619.
2016-03-10 15:06:32 +11:00
Chris Johns
d78a63ff1c sb: Download's urllib_parse should point to urlparse on Python2.
Updates #2619.
2016-03-10 15:01:51 +11:00
Chris Johns
29f23e0440 sb: Fix configparser import on Python2 in version.py.
Updates #2619.
2016-03-10 14:53:53 +11: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
9bae339bef sb: Report platform import errors. 2016-03-08 22:27:07 +11:00
Chris Johns
e645642255 qemu: Add a package name to create a tarball. 2016-03-07 15:03:04 +11:00
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