mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30:32 +00:00
a27c8ea7f7
When building for ARM64, we need to pass -ffixed-x18 and otherwise pass -ffixed-r9. Rather than having this logic in two places, we can do this once in arch/arm/config.mk. Further, while gcc will ignore being passed both -ffixed-r9 and -ffixed-x18 and simply use -ffixed-x18, clang will note that -ffixed-r9 is not used. Remove this duplication to also remove the warning. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
12 lines
374 B
Makefile
12 lines
374 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2002
|
|
# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
|
PLATFORM_RELFLAGS += $(call cc-option,-mbranch-protection=none)
|
|
|
|
PF_NO_UNALIGNED := $(call cc-option, -mstrict-align)
|
|
PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED)
|
|
|
|
EFI_LDS := elf_aarch64_efi.lds
|
|
EFI_CRT0 := crt0_aarch64_efi.o
|
|
EFI_RELOC := reloc_aarch64_efi.o
|