]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv8/config.mk
arm64: core support
[karo-tx-uboot.git] / arch / arm / cpu / armv8 / config.mk
1 #
2 # (C) Copyright 2002
3 # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7 PLATFORM_RELFLAGS += -fno-common -ffixed-x18
8
9 # SEE README.arm-unaligned-accesses
10 PF_NO_UNALIGNED := $(call cc-option, -mstrict-align)
11 PLATFORM_NO_UNALIGNED := $(PF_NO_UNALIGNED)
12
13 PF_CPPFLAGS_ARMV8 := $(call cc-option, -march=armv8-a)
14 PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_ARMV8)
15 PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED)