blob: eb81a5708df4a1008efeff03db44211e3ee7aeae [file] [log] [blame]
Wolfgang Denk74f43042005-09-25 01:48:28 +02001#
2# (C) Copyright 2002
Detlev Zundel792a09e2009-05-13 10:54:10 +02003# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
Wolfgang Denk74f43042005-09-25 01:48:28 +02004#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk74f43042005-09-25 01:48:28 +02006#
7
Wolfgang Denk74f43042005-09-25 01:48:28 +02008PLATFORM_CPPFLAGS += -march=armv4
Sergei Poselenov1bb8b2e2008-08-14 14:08:28 +02009# =========================================================================
10#
11# Supply options according to compiler version
12#
13# =========================================================================
Wolfgang Denkcca4e4a2011-11-01 20:54:02 +000014PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
15PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)