xref: /openbmc/u-boot/arch/arm/cpu/pxa/config.mk (revision 84c617be)
184ad6884SPeter Tyser#
284ad6884SPeter Tyser# (C) Copyright 2002
384ad6884SPeter Tyser# Sysgo Real-Time Solutions, GmbH <www.elinos.com>
484ad6884SPeter Tyser# Marius Groeger <mgroeger@sysgo.de>
584ad6884SPeter Tyser#
684ad6884SPeter Tyser# See file CREDITS for list of people who contributed to this
784ad6884SPeter Tyser# project.
884ad6884SPeter Tyser#
984ad6884SPeter Tyser# This program is free software; you can redistribute it and/or
1084ad6884SPeter Tyser# modify it under the terms of the GNU General Public License as
1184ad6884SPeter Tyser# published by the Free Software Foundation; either version 2 of
1284ad6884SPeter Tyser# the License, or (at your option) any later version.
1384ad6884SPeter Tyser#
1484ad6884SPeter Tyser# This program is distributed in the hope that it will be useful,
1584ad6884SPeter Tyser# but WITHOUT ANY WARRANTY; without even the implied warranty of
1684ad6884SPeter Tyser# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1784ad6884SPeter Tyser# GNU General Public License for more details.
1884ad6884SPeter Tyser#
1984ad6884SPeter Tyser# You should have received a copy of the GNU General Public License
2084ad6884SPeter Tyser# along with this program; if not, write to the Free Software
2184ad6884SPeter Tyser# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2284ad6884SPeter Tyser# MA 02111-1307 USA
2384ad6884SPeter Tyser#
2484ad6884SPeter Tyser
2584ad6884SPeter TyserPLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
2684ad6884SPeter Tyser
27*84c617beSMike DunnPLATFORM_CPPFLAGS += -mcpu=xscale
2884ad6884SPeter Tyser# =========================================================================
2984ad6884SPeter Tyser#
3084ad6884SPeter Tyser# Supply options according to compiler version
3184ad6884SPeter Tyser#
3284ad6884SPeter Tyser# ========================================================================
33cca4e4aeSWolfgang DenkPF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
34cca4e4aeSWolfgang DenkPLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
35