[systemd-devel] [gummiboot][PATCH 1/5] Makefile: support non-x86 builds

David Herrmann dh.herrmann at gmail.com
Sat Apr 11 02:41:13 PDT 2015


Hi

On Sat, Apr 11, 2015 at 10:23 AM, Koen Kooi <koen.kooi at linaro.org> wrote:
> Move the no-mmx/no-sse CFLAGS to X86-64 and IA32 defines in preparation
> for ARM32 and Aarch64 support.
>
> Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
> ---
>  Makefile.am | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

Applied to systemd-git. Note that there is no gummiboot repository, anymore.

Thanks
David

> diff --git a/Makefile.am b/Makefile.am
> index 6568a35..2cca313 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -94,17 +94,23 @@ efi_cflags = \
>         -ffreestanding \
>         -fno-strict-aliasing \
>         -fno-stack-protector \
> -       -Wsign-compare \
> -       -mno-sse \
> -       -mno-mmx
> +       -Wsign-compare
>
>  if ARCH_X86_64
>  efi_cflags += \
>         -mno-red-zone \
> +       -mno-sse \
> +       -mno-mmx
>         -DEFI_FUNCTION_WRAPPER \
>         -DGNU_EFI_USE_MS_ABI
>  endif
>
> +if ARCH_IA32
> +efi_cflags += \
> +       -mno-sse \
> +       -mno-mmx
> +endif
> +
>  efi_ldflags = \
>         $(EFI_LDFLAGS) \
>         -T $(EFI_LDS_DIR)/elf_$(ARCH)_efi.lds \
> --
> 2.0.1
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list