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

Koen Kooi koen.kooi at linaro.org
Sat Apr 11 03:50:44 PDT 2015


On 11 April 2015 at 11:41, David Herrmann <dh.herrmann at gmail.com> wrote:
> 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.

Thanks!

> Note that there is no gummiboot repository, anymore.

I realized that after sending the patches, I'll try to work against
the systemd tree in the future.

regards,

Koen

>
> 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



-- 
Koen Kooi

Builds and Baselines | Release Manager
Linaro.org | Open source software for ARM SoCs


More information about the systemd-devel mailing list