1*f56348afSSteve Sakoman# 2*f56348afSSteve Sakoman# (C) Copyright 2002 3*f56348afSSteve Sakoman# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> 4*f56348afSSteve Sakoman# 5*f56348afSSteve Sakoman# See file CREDITS for list of people who contributed to this 6*f56348afSSteve Sakoman# project. 7*f56348afSSteve Sakoman# 8*f56348afSSteve Sakoman# This program is free software; you can redistribute it and/or 9*f56348afSSteve Sakoman# modify it under the terms of the GNU General Public License as 10*f56348afSSteve Sakoman# published by the Free Software Foundation; either version 2 of 11*f56348afSSteve Sakoman# the License, or (at your option) any later version. 12*f56348afSSteve Sakoman# 13*f56348afSSteve Sakoman# This program is distributed in the hope that it will be useful, 14*f56348afSSteve Sakoman# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*f56348afSSteve Sakoman# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*f56348afSSteve Sakoman# GNU General Public License for more details. 17*f56348afSSteve Sakoman# 18*f56348afSSteve Sakoman# You should have received a copy of the GNU General Public License 19*f56348afSSteve Sakoman# along with this program; if not, write to the Free Software 20*f56348afSSteve Sakoman# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21*f56348afSSteve Sakoman# MA 02111-1307 USA 22*f56348afSSteve Sakoman# 23*f56348afSSteve SakomanPLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float 24*f56348afSSteve Sakoman 25*f56348afSSteve Sakoman# Make ARMv5 to allow more compilers to work, even though its v7a. 26*f56348afSSteve SakomanPLATFORM_CPPFLAGS += -march=armv5 27*f56348afSSteve Sakoman# ========================================================================= 28*f56348afSSteve Sakoman# 29*f56348afSSteve Sakoman# Supply options according to compiler version 30*f56348afSSteve Sakoman# 31*f56348afSSteve Sakoman# ========================================================================= 32*f56348afSSteve SakomanPLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,\ 33*f56348afSSteve Sakoman $(call cc-option,-malignment-traps,)) 34