610 Commits

Author SHA1 Message Date
Sebastian Huber
a6ee3cb286 gcc: Move GMP, MPC, MPFR sources to common
Use GCC infrastructure download directory for GCC prerequisites.
2022-04-22 08:40:17 +02:00
Sebastian Huber
571a182d4a GDB: Prefer Python 3 over 2
This fixes the build of a recent GDB version:

gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)':
gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope
   PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
                    ^~~~~~~~~~~~~~~~~~~~~~~
2022-03-21 09:01:01 +01:00
Sebastian Huber
09b84c4c2a sb/linux.py: Simplify "distro" determination
This fixes an issue on Debian 11 which contains "Debian" in /etc/issue
(capital D).
2022-01-24 07:56:16 +01:00
Karel Gardas
dbc11a81b7 RSB: add GRUB2 to the RTEMS tools and use it in 6/rtems-x86_64 build set 2021-11-18 11:06:04 -06:00
Ryan Long
def934785d rtems-kernel: Implement kernel recipe using waf
Closes #4145
2021-11-09 11:10:40 -06:00
Robin Mueller
c938bd7cbe setbuilder minor list-host option
This adds a way to print the host triplet
Can be useful for cross-compiling toolchains
2021-07-17 08:42:29 +10:00
Chris Johns
9c33ea0790 defaults.mc: Remove any checks for objdump and objcopy
- FreeBSD is removing any dependence on binutils and release 13
  has removed objdump. This is fine as we build our own version.
2021-07-01 10:31:31 +10:00
Alex White
4e6dc64314 sb: Merge mailer changes from rtems-tools
This adds the improved mailer.py script from rtems-tools.

Closes #4388
2021-05-26 16:34:36 -05:00
Ricardo Cárdenes
5e449fb5c2 sb/config.py: Fix operator reconstruction
Close #4335
2021-03-11 08:52:27 -07:00
Vijay Kumar Banerjee
2f9a68bfb1 sb/config.py: Fix relational operator
Close #4319
2021-03-10 11:09:17 -07:00
Sebastian Huber
4301130dec Add GMP as a prerequisite for GDB 2020-12-21 06:40:51 +01:00
Sebastian Huber
ea77e182d4 expat: Disable shared libraries
This should ensure that GDB is linked using the static libexpat.a built
by the RSB.
2020-12-21 06:40:51 +01:00
Chris Johns
07261837a2 devel/qemu: Update QEMU to 5.2.0-rc1
- This version of qemu uses meson and ninja to build. You will need
  to install ninja to build. No checks are made until meson run
2020-11-13 09:24:06 +11:00
Stephen Clark
ed5030bc24 pkgconfig.py: Removed use of "unicode" keyword for python3 compatibility
Closes #4094.
2020-09-26 11:01:04 +10:00
Chris Johns
c51f634258 sb: Fix the imports on Python2
Updates #4037
2020-08-28 11:37:53 +10:00
Chris Johns
650c6f9933 sb: Use shebang env python
Closes #4037
2020-08-25 21:21:50 +10:00
Chris Johns
dc989037e4 sb/track: Only output unreferenced configs with the option 2020-08-12 13:17:48 +10:00
Chris Johns
a863b15fdb sb/bootstrap: Remove the sb-bootstrap command
Closes #4046
2020-08-10 16:53:42 +10:00
Chris Johns
481bbd1109 sb/builder: Remove sb-builder command
Closes #4045
2020-08-10 16:21:35 +10:00
Chris Johns
12418190b9 sb/track: Add a command to track build sets.
- Process a build set for a range of hosts and output a dependency
  tree, the used build set and configuration files.
- Output the configuration files that are no referenced

Closes #4036
2020-08-10 16:19:47 +10:00
Chris Johns
8effa3e542 sb/options: A Canadian Cross is a different host, build and target
The check must make sure each is different.
2020-06-30 18:03:23 +10:00
Sebastian Huber
b89e62fd19 Change version to RTEMS 6
Update #4020.
2020-06-30 09:14:05 +02:00
Chris Johns
907eabfc3c sqlite: Change to https for downloading the source package. 2020-06-26 11:53:57 +10:00
Chris Johns
955c1c173e bare/qemu: Fixes building on FreeBSD
- Move the qemu config to a common file shared by qemu and qemu4.

- Disable nettle on qemu4, FreeBSd complained.

- Add some extra git cleaning steps to the git path. These however
  do not full clean the qemu submodules and it is not worth the
  effort to try and fix.

- The devel/qemu will not build on machines with python set to
  python3. This will not be fixed, use qemu4.

Closes #3966
2020-05-08 14:33:44 +10:00
Chris Johns
0fd197f9a8 sb: Disable any trace data 2020-05-08 14:28:09 +10:00
Chris Johns
1f972c2108 sb: Add git clean to the supported git commands. 2020-05-08 14:28:04 +10:00
Chris Johns
846c979058 devel/dtc: Change the home page to www.devicetree.org 2020-04-28 18:36:41 +10:00
Anders Montonen
d5ad66747c source-builder/config/gdb-common-1.cfg: Fix building with Python 3.8
Starting with Python 3.8, python3-config requires the "--embed" flag to
print the flags required for embedding Python in an application.

Fixes:
error: shell macro failed: /home/anders/work/rtems/rsb/source-builder/sb/rtems-build-dep -c gcc  -l : 2: error: no library (-l) provided

Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-28 08:49:56 +10:00
Anders Montonen
ae9faa2726 sb/linux.py: Workaround for Python >= 3.8
The platform.dist() interface has been deprecated since Python 3.5, and
has been removed in Python 3.8.

Fixes:
Traceback (most recent call last):
  File "/home/anders/work/rtems/rsb/source-builder/sb/options.py", line 682, in load
    overrides = linux.load()
  File "/home/anders/work/rtems/rsb/source-builder/sb/linux.py", line 60, in load
    distro = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-28 08:49:25 +10:00
Anders Montonen
0c7965c093 sb: Fix Python literal comparison warnings
Fixes:
SyntaxWarning: "is" with a literal. Did you mean "=="?

Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-28 08:49:05 +10:00
Vijay Kumar Banerjee
190b39e913 source-builder: Add capstone 2020-04-10 08:44:32 -05:00
Hesham Almatary
70775f90cb rsb: Fix Spike build
* There is no all$ target in Spike
* There is no longer --with-fesvr flag since fesvr is source-inlined
by default
2020-04-09 12:38:08 +01:00
Gedare Bloom
4727c3e58f sb/reports: add sanitize parameter enabled for --mail
Adds a --sanitize option to command line for reports.py
and also for the reports.report() interface from setbuilder.py
to remove the Remotes information from git.

Closes #3887.
2020-04-04 22:11:00 -06:00
Jonathan Brandmeyer
113c65cb56 databases/sqlite: Update to 3.31.1
closes #3927.
2020-04-02 19:08:16 -05:00
Gedare Bloom
54e08b8580 sb/reports.py: Remove spurious error check
The error path is taken when list-bsets or list-cfgs returns
true (meaning it listed them). So the error is invalid.
2020-04-01 21:55:39 -06:00
Chris Johns
92d8e7f51f sb/sha512-base64: Add script to generate a base64 checksum.
- Use this command to get a smaller sha512 checksum
2020-03-30 10:47:18 +11:00
Chris Johns
fe63ad8777 sb/execute: Port fixes from rtems-tools 2020-03-30 10:46:38 +11:00
Martin Erik Werner
f93fcef875 qemu: Update glib to build on newer gcc
Update the glib version to 2.48.2 in order to fix build failure on newer
gcc[0].

Force internal version of libpcre for glib, since otherwise the build
failed, presumably since libpcre is not provided as a module (maybe it
should?).

Increasing the glib version further to the current latest was not
tested.

[0]
  CC       libglib_2_0_la-gdate.lo
../../glib-2.39.3/glib/gdate.c: In function 'g_date_strftime':
../../glib-2.39.3/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~
2020-03-20 11:50:28 -05:00
Sebastian Huber
e0394a5c70 sb: Use multiprocessing.cpu_count()
The previous implementation does not work on some Linux distributions,
e.g. Debian on sparc64.  Use a standard function instead.
2020-03-05 10:59:16 +01:00
Chris Johns
3b0032d9e0 sb/options: Let --source-only-download download releases
- The release procedure uses the sb-set-sources command now.

Closes #3896
2020-03-04 20:37:04 +11:00
Chris Johns
9e49d20a30 sb/pkgconfig: Fix python2 issue with caching changes
Closes #3893
2020-03-04 09:56:01 +11:00
Chris Johns
ba97e7c5af sb/python-wrapper: Add python2.7 to aid testing 2020-03-04 09:20:19 +11:00
Chris Johns
834a0ea88a protobufs: Fix the incorrectly update top level URL for the project.
- Looks like protobuf is now not under Google. I failed to notice that.
2020-03-03 15:38:47 +11:00
Chris Johns
96d55ab432 sb/pkgconfig: Cache pkgconfig based on a file name not name
- Caching on name falsely assumed checks across different config
  instances in nested build sets as used in vertical stack
  building was valid. This stopped a valid check for a prefix
  seeing if a valid BSP config was present.

Updates #3893
2020-03-03 11:18:05 +11:00
Chris Johns
4295d3d377 sb/config: Add paths checks to %{path ...}
Updates #3893
2020-03-03 11:18:05 +11:00
Chris Johns
175ce0bcb0 sb/config: Expanded nested shell commands
Updates #3893
2020-03-03 11:18:05 +11:00
Chris Johns
5ec0913ada protobufs: Top level project rename. Fix URL path on github. 2020-03-03 11:18:05 +11:00
Chris Johns
22135c9a76 windows: Use GNU tar to unpack source
- The bsdtar command does not handle symlinks cleanly, GNU tar does

Closes #3868
2020-02-12 14:41:14 +11:00
Chris Johns
599c4d7c87 freebsd: Fix GDB building on some 12 and higher versions 2020-01-21 14:46:16 +11:00
Chris Johns
443b8ce3d3 sb/getsources: Fix the repo_mail reference. 2019-12-05 19:01:54 +11:00