mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 22:03:15 +00:00
0ae7653128
Relocation code based on a patch by Scott Wood, which is: Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: David Feng <fenghua@phytium.com.cn>
15 lines
441 B
Makefile
15 lines
441 B
Makefile
#
|
|
# (C) Copyright 2002
|
|
# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
PLATFORM_RELFLAGS += -fno-common -ffixed-x18
|
|
|
|
# SEE README.arm-unaligned-accesses
|
|
PF_NO_UNALIGNED := $(call cc-option, -mstrict-align)
|
|
PLATFORM_NO_UNALIGNED := $(PF_NO_UNALIGNED)
|
|
|
|
PF_CPPFLAGS_ARMV8 := $(call cc-option, -march=armv8-a)
|
|
PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_ARMV8)
|
|
PLATFORM_CPPFLAGS += $(PF_NO_UNALIGNED)
|