1a47a12beSStefan Roese# 2a47a12beSStefan Roese# (C) Copyright 2002,2003 Motorola Inc. 3a47a12beSStefan Roese# Xianghua Xiao, X.Xiao@motorola.com 4a47a12beSStefan Roese# 5a47a12beSStefan Roese# See file CREDITS for list of people who contributed to this 6a47a12beSStefan Roese# project. 7a47a12beSStefan Roese# 8a47a12beSStefan Roese# This program is free software; you can redistribute it and/or 9a47a12beSStefan Roese# modify it under the terms of the GNU General Public License as 10a47a12beSStefan Roese# published by the Free Software Foundation; either version 2 of 11a47a12beSStefan Roese# the License, or (at your option) any later version. 12a47a12beSStefan Roese# 13a47a12beSStefan Roese# This program is distributed in the hope that it will be useful, 14a47a12beSStefan Roese# but WITHOUT ANY WARRANTY; without even the implied warranty of 15a47a12beSStefan Roese# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16a47a12beSStefan Roese# GNU General Public License for more details. 17a47a12beSStefan Roese# 18a47a12beSStefan Roese# You should have received a copy of the GNU General Public License 19a47a12beSStefan Roese# along with this program; if not, write to the Free Software 20a47a12beSStefan Roese# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21a47a12beSStefan Roese# MA 02111-1307 USA 22a47a12beSStefan Roese# 23a47a12beSStefan Roese 2433ee4c92SJoakim TjernlundPLATFORM_RELFLAGS += -meabi 25a47a12beSStefan Roese 26a47a12beSStefan RoesePLATFORM_CPPFLAGS += -ffixed-r2 -Wa,-me500 -msoft-float -mno-string 27a47a12beSStefan Roese 28a47a12beSStefan Roese# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC; 29a47a12beSStefan Roese# see "[PATCH,rs6000] make -mno-spe work as expected" on 30a47a12beSStefan Roese# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html 31*cca4e4aeSWolfgang DenkPF_CPPFLAGS_SPE := $(call cc-option,-mspe=yes) \ 32*cca4e4aeSWolfgang Denk $(call cc-option,-mno-spe) 33*cca4e4aeSWolfgang DenkPLATFORM_CPPFLAGS += $(PF_CPPFLAGS_SPE) 34