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