3 # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
5 # SPDX-License-Identifier: GPL-2.0+
7 PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
9 # Make ARMv5 to allow more compilers to work, even though its v6.
10 PLATFORM_CPPFLAGS += -march=armv5t
11 # =========================================================================
13 # Supply options according to compiler version
15 # =========================================================================
16 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,\
17 $(call cc-option,-malignment-traps,))
18 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)