David Feng | 0ae7653 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 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) |