1#
2# (C) Copyright 2002,2003 Motorola Inc.
3# Xianghua Xiao, X.Xiao@motorola.com
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8PLATFORM_RELFLAGS += -meabi
9
10PLATFORM_CPPFLAGS += -ffixed-r2 -Wa,-me500 -msoft-float -mno-string
11
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
15PF_CPPFLAGS_SPE := $(call cc-option,-mspe=yes) \
16		   $(call cc-option,-mno-spe)
17PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_SPE)
18