blob: 9eef539e5e12f2ea9edff6568d8cff0146d545ee [file] [log] [blame]
wdenk9c53f402003-10-15 23:53:47 +00001#
2# (C) Copyright 2002,2003 Motorola Inc.
3# Xianghua Xiao, X.Xiao@motorola.com
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk9c53f402003-10-15 23:53:47 +00006#
7
Joakim Tjernlund703b8082010-12-06 14:36:46 +01008PLATFORM_RELFLAGS += -meabi
wdenk9c53f402003-10-15 23:53:47 +00009
Kumar Gala4c81ed12009-08-06 18:28:34 -050010PLATFORM_CPPFLAGS += -ffixed-r2 -Wa,-me500 -msoft-float -mno-string
Leon Woestenberg15bf2832009-10-26 10:03:32 +010011
12# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
13# see "[PATCH,rs6000] make -mno-spe work as expected" on
14# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
Wolfgang Denk9209ed52011-11-01 20:54:02 +000015PF_CPPFLAGS_SPE := $(call cc-option,-mspe=yes) \
16 $(call cc-option,-mno-spe)
17PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_SPE)