[PATCH] Revert "configure: allow the use of bare-metal toolchains"
Mark Rutland
mark.rutland at arm.com
Sat Aug 3 03:43:39 PDT 2024
On Fri, Aug 02, 2024 at 12:17:29PM +0100, Mark Rutland wrote:
> While well-intentioned, the CFLAGS change to support bare metal
> toolchains introduced at least two problems:
[...]
> For now, revert the problematic commit.
>
> This reverts commit 1fea854771f9aee405c4ae204c0e0f912318da6f.
Applied. To make it possible to use bare-metal toolchains we'll need to
do some more substantial work.
Mark.
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Reported-by: Andre Przywara <andre.przywara at arm.com>
> Cc: Akos Denke <akos.denke at arm.com>
> Cc: Luca Fancellu <luca.fancellu at arm.com>
> Cc: Marc Zyngier <maz at kernel.org>
> ---
> configure.ac | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1f2f4f6..ce41dae 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -128,9 +128,6 @@ AC_ARG_ENABLE([gicv3],
> AM_CONDITIONAL([GICV3], [test "x$USE_GICV3" = "xyes"])
> AS_IF([test "x$USE_GICV3" = "xyes"], [], [USE_GICV3=no])
>
> -# Ensure AC_PROG_CC tries to build a bare-metal object
> -CFLAGS="${CFLAGS} -ffreestanding -nostdlib"
> -
> # Ensure that we have all the needed programs
> AC_PROG_CC
> AC_PROG_CPP
> --
> 2.30.2
>
More information about the linux-arm-kernel
mailing list