mbox series

[BOOT-WRAPPER,0/3] Allow use of bare-metal toolchains

Message ID 20240729143116.1804615-1-mark.rutland@arm.com (mailing list archive)
Headers show
Series Allow use of bare-metal toolchains | expand

Message

Mark Rutland July 29, 2024, 2:31 p.m. UTC
Since the boot-wrapper build system was migrated to autoconf it hasn't
been possible to build the boot-wrapper with a bare-metal toolchain,
since the configure sscript checks for a hosted toolchain.

These patches make it possible to build the boot-wrapper with a
bare-metal toolchain.

Mark.

Mark Rutland (3):
  Makefile: rework test-dtc-option
  Makefile: suppress RWX segment warnings
  configure: allow the use of bare-metal toolchains

 Makefile.am  | 20 +++++++++++++++-----
 configure.ac |  3 +++
 2 files changed, 18 insertions(+), 5 deletions(-)

Comments

Marc Zyngier Aug. 2, 2024, 9:21 a.m. UTC | #1
On Mon, 29 Jul 2024 15:31:13 +0100,
Mark Rutland <mark.rutland@arm.com> wrote:
> 
> Since the boot-wrapper build system was migrated to autoconf it hasn't
> been possible to build the boot-wrapper with a bare-metal toolchain,
> since the configure sscript checks for a hosted toolchain.
> 
> These patches make it possible to build the boot-wrapper with a
> bare-metal toolchain.
> 
> Mark.
> 
> Mark Rutland (3):
>   Makefile: rework test-dtc-option
>   Makefile: suppress RWX segment warnings
>   configure: allow the use of bare-metal toolchains
> 
>  Makefile.am  | 20 +++++++++++++++-----
>  configure.ac |  3 +++
>  2 files changed, 18 insertions(+), 5 deletions(-)

All looks reasonable to me.

Acked-by: Marc Zyngier <maz@kernel.org>

	M.
Mark Rutland Aug. 2, 2024, 10:10 a.m. UTC | #2
On Mon, Jul 29, 2024 at 03:31:13PM +0100, Mark Rutland wrote:
> Since the boot-wrapper build system was migrated to autoconf it hasn't
> been possible to build the boot-wrapper with a bare-metal toolchain,
> since the configure sscript checks for a hosted toolchain.
> 
> These patches make it possible to build the boot-wrapper with a
> bare-metal toolchain.
> 
> Mark.
> 
> Mark Rutland (3):
>   Makefile: rework test-dtc-option
>   Makefile: suppress RWX segment warnings
>   configure: allow the use of bare-metal toolchains
> 
>  Makefile.am  | 20 +++++++++++++++-----
>  configure.ac |  3 +++
>  2 files changed, 18 insertions(+), 5 deletions(-)

I've applied this series to the boot-wrapper-aarch64 master branch:

  https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git/commit/?id=1fea854771f9aee405c4ae204c0e0f912318da6f

Mark.