Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
David Feng | 85fd5f1 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2002 |
| 4 | # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
David Feng | 85fd5f1 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 5 | PLATFORM_RELFLAGS += -fno-common -ffixed-x18 |
Rasmus Villemoes | e6c49ad | 2022-08-08 16:12:30 +0200 | [diff] [blame] | 6 | PLATFORM_RELFLAGS += $(call cc-option,-mbranch-protection=none) |
David Feng | 85fd5f1 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 7 | |
Tom Rini | 958a8f8 | 2014-02-25 10:27:01 -0500 | [diff] [blame] | 8 | PF_NO_UNALIGNED := $(call cc-option, -mstrict-align) |
David Feng | 85fd5f1 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 9 | PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED) |
Simon Glass | 61378fd | 2016-11-07 08:47:11 -0700 | [diff] [blame] | 10 | |
| 11 | EFI_LDS := elf_aarch64_efi.lds |
| 12 | EFI_CRT0 := crt0_aarch64_efi.o |
| 13 | EFI_RELOC := reloc_aarch64_efi.o |