678 Commits

Author SHA1 Message Date
Chris Johns
c109b53f1f sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums 2024-04-04 10:26:51 +11:00
Chris Johns
07ba8d5f8f rtems: Checksum fixes
Updates #4991
2024-02-20 11:57:20 +11:00
Chris Johns
ee02d32288 gcc: gcc-4.9-1.cfg Make-lang patch checksum error
Updates #4991
2024-02-19 10:43:35 +11:00
Kinsey Moore
08a73975ae qemu: Update CFLAGS and LDFLAGS overrides
QEMU used to honor LDFLAGS and CFLAGS and has since moved to accepting
them via --extra-cflags and --extra-ldflags options to configure.
2024-02-04 22:54:48 -06:00
Kinsey Moore
4dad5b3e5f source-builder: Handle modern pkg-config symlinks
Modern versions of pkg-config include new architecture-specific symlinks
that are sometimes checked before "pkg-config". This causes builds to
detect the system pkg-config instead of the local overridden pkg-config
and fail to build properly. This overrides those new symlinks to restore
build functionality.
2024-02-04 22:54:48 -06:00
Chris Johns
052ae74bb2 bare/or1ksim: Fix invalid hash and fix the version 2023-12-13 14:08:28 +11:00
Chris Johns
5e4b3b9098 sb: Set the uid and gid on POSIX systems
This improves performance because it avoids an exec each time
the _uid macro is referenced and that can be a number of times
for each config parsed.
2023-12-07 10:31:59 +11:00
Chris Johns
39ca2970a5 sb: Allow _ in downloaded file names 2023-12-07 10:31:58 +11:00
Chris Johns
08a44186e0 hash: Fix missing hashes after errors if missing 2023-12-07 10:31:58 +11:00
Chris Johns
a970057f46 gdb: Add options to control the python version
The options are:
  --with-python2
  --with-python3
  --with-python-version

Closes #4973
2023-11-30 09:14:37 +11:00
Chris Johns
547335431b sb: No hash on a package is an error 2023-11-30 07:46:48 +11:00
Chris Johns
9e57632bef 6: Fix gcc-13 support for MacOS
Update #4921
2023-11-28 18:17:11 +11:00
Chris Johns
63396e2ed6 sb: Fix Python 3.12 safeConfigParser and invalid escape sequences
Updates #4968
2023-11-22 08:14:55 +11:00
Michael South
b680d19231 sb/linux.py: More reliably recognize distribution
If available, use "distro" package (introduced Python 3.6, back-ported to 2.6)
to recognize Linux distributions and versions.

Updates #4966
2023-11-17 10:12:26 +11:00
Kinsey Moore
deba39fea4 qemu: Adjust cgem interrupt patch
This patch is being moved to the 5.2.0-1 QEMU configuration because the
Xilinx QEMU build uses the 5-1 configuration and this patch does not
apply to Xilinx's modified tree. This also adds a new patch that applies
correctly to Xilinx's modified QEMU tree.

Updates #4919
2023-10-07 14:48:16 -05:00
Kinsey Moore
34cecb8b69 qemu-5-1: Update to the latest CGEM patch
The original version of this patch had a conflict between the two
interrupts where the program-viewable interrupt state could be
deasserted when it should have been asserted. The new version of this
patch resolves that conflict.
2023-06-26 17:06:39 -05:00
Kinsey Moore
ac1fee4f04 qemu-5-1: Add patch for ZynqMP/Versal CGEMs
This temporarily adds a patch to fix badly behaving CGEM peripherals
under QEMU. The referenced patch has been submitted for inclusion in
the upstream QEMU repository.

Updates #4919
2023-06-16 08:37:42 -05:00
Chris Johns
6f96edf25b sb/pkg-config: Add --cflags-only-I and --cflags-only-other option 2023-05-16 13:19:42 +10:00
Chris Johns
c85c46e3bb sb/option: Add the arch to the macros from the --rtems-bsp option 2023-05-16 13:19:42 +10:00
Chris Johns
9c1e5c7e01 sb: Fix the library handling in rtems-build-dep 2023-05-16 13:19:42 +10:00
Chris Johns
574839d855 sb/path: Handle unicode filenames in a source path
The change leaves the encoding in that currently exists because
I cannot remember why it is there. If an encoding error happens
return the same path to see if it will work.
2023-05-16 13:19:42 +10:00
Chris Johns
4c73a76c80 print/texinfo: Add texinfo package
- MacOS systems do not come with makeinfo

- Fix the internal build logic. There was config logic in a
  bset file that does not support logic operators. Use a
  special tmp internal path to isolate the internal tools.
2023-04-12 12:08:43 +10:00
Chris Johns
78913bcbba gdb-common: Fix the python-config library parsing
Closes #4894
2023-04-11 05:59:40 +00:00
Chris Johns
05f6bef093 devel/mpfr: Add MPFR as a package
- This is a place holder incase we stop building MPFR in
  GCC.

Updates #4892
2023-04-05 10:11:15 +10:00
Chris Johns
235c12feeb devel/mpfr: Update to 4.2.0 to support MacOS AARCH64
- Use base64 checksums

- Change MPFR URL

Updates #4892
2023-04-05 10:10:34 +10:00
Chris Johns
4358a038c6 devel/gmp: Disable assemble builds on MacOS AARCH64
Updates #4892
2023-04-05 10:09:29 +10:00
Chris Johns
f3c5dbdce6 rtems/gcc: Do not build GMP in GCC, use the staged build
- Do not build GMP when building GCC. GMP is now built
  as a package for GDB. Building as a separate package
  lets use control how it is built.

Updates #4892
2023-04-05 10:09:29 +10:00
Chris Johns
9919f1217c gdb: Use a virtual environment if present
- Detect and use a virtual environment if present

- Supports MacOS with python.org in a venv

Updates #4892
2023-04-05 10:09:21 +10:00
Chris Johns
344981a8f8 dtc: Disable warnings
Updates #4892
2023-04-04 15:22:11 +10:00
Chris Johns
f0e34eab8b binutils: Disable stack exec and RWX section warnings
Binutils 2.39 and later enable by default warnings for executables
with executable stack and RWX sections. Disable them.

Closes #4881
2023-03-22 09:11:08 +11:00
Karel Gardas
0054104e37 grub2.cfg: fix GRUB compilation with GCC 12. 2023-03-19 23:26:37 +01:00
Chris Johns
e5abdec853 6/gdb: fix building on FreeBSD 13.1
See https://sourceware.org/bugzilla/show_bug.cgi?id=30214

Closes #4872
2023-03-09 15:45:18 +11:00
Kinsey Moore
6685718699 Revert github tarball hash changes
GitHub has reverted the change that caused all these tarball hashes to
change and so we follow suit.
2023-02-01 10:36:50 +11:00
Kinsey Moore
5c01a44221 Update hashes for github-sourced tarballs
Github has changed the way it generates on-the-fly tarball requests
which has changed the hashes of the resulting tarballs. This adjusts the
affected tarball hashes as a stop-gap until a more permanent solution
can be devised.
2023-01-30 17:12:12 -06:00
Frank Kühndel
b3b53c5242 RSB: Mitigate too short error reports
Close #4642
2023-01-23 11:59:49 +01:00
Sebastian Huber
949cf500b4 gdb: Use https for downloads 2022-11-10 15:11:42 +01:00
Karel Gardas
b02f7788e8 devel/sis: fix compilation of SIS on Mac OS X
SIS compiles on Mac OS X fine, but without providing --host/--build
configure options. Removing them solves the issue of configure not being
able to recognize arm64-darwin platform.
2022-10-24 21:17:42 +02:00
Karel Gardas
0388c4b8b2 testproc/gsed: fix compilation of GNU sed on Mac OS X
GNU sed compiles on Mac OS X fine, but without providing --host/--build
configure options. Hence removing them solved the issue of configure
not being able to recognize arm64-darwin platform.
2022-10-24 00:33:06 +02:00
Chris Johns
953b8391c0 sb/set-bulder: Fix installing builds when a single buildset
- Always stage a build

- Install if installable and outter most buildset instance

Closes #4730
2022-10-01 06:32:24 +10:00
Chris Johns
e04c84191b sb/execute: Fix incremental decoder with --dry-run
Closes #4726
2022-10-01 06:31:46 +10:00
Chris Johns
cfed1659a2 sb/version: Set top from external package 2022-09-30 07:06:27 +10:00
Chris Johns
d7fb57fa9f sb/execute: Use a decoder that maintains state aross blocks
Update #4726
2022-09-30 07:05:53 +10:00
Chris Johns
336f15cc75 sb/set-builder: Fix staging and tar file generation with a single config build
Closes #4730
2022-09-29 18:55:15 +10:00
Chris Johns
f86bc1da52 sb/setbuilder: Install the build when stagging or configured to install 2022-09-16 16:55:41 +10:00
Chris Johns
468fc79e8c devel/gcc: Check and build GNU sed if not available on build host
Closes #2300
2022-09-14 16:56:25 +10:00
Chris Johns
27c61da6df textproc/gsed: Add GNU sed build support
Updates #2300
2022-09-14 16:56:18 +10:00
Chris Johns
6f7eba4f1a sb/setbuilder: Do not install if --no-install option is used
- This is a bug introduced in the recent bset tar file changes
2022-09-14 16:39:46 +10:00
Chris Johns
6205068c5a sb/setbuilder: Correctly create build set tar files
- Make a single tarfile for all buildsets built

- Use the staging tree as the tarfile source

- Use python's tarfile module

- Create a config.file object without loading a .cfg file
2022-09-09 09:08:09 +10:00
Chris Johns
1ce36943e9 sb/build.py: Output build scripts to trace
- Only remove the build directory when not a dry run
2022-09-09 09:08:09 +10:00
Chris Johns
18b4507fc5 sb/config: Correctly handle multiple config paths
- Add rtems/config to the config directories searched to better
  support deployment

- Correctly expand the configdir and path searchs

Close #4710
2022-09-09 09:08:09 +10:00