2003-10-15 23:53:47 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2002,2003 Motorola Inc.
|
|
|
|
# Xianghua Xiao, X.Xiao@motorola.com
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2003-10-15 23:53:47 +00:00
|
|
|
#
|
|
|
|
|
2010-12-06 13:36:46 +00:00
|
|
|
PLATFORM_RELFLAGS += -meabi
|
2003-10-15 23:53:47 +00:00
|
|
|
|
2009-08-06 23:28:34 +00:00
|
|
|
PLATFORM_CPPFLAGS += -ffixed-r2 -Wa,-me500 -msoft-float -mno-string
|
2009-10-26 09:03:32 +00:00
|
|
|
|
|
|
|
# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
|
|
|
|
# see "[PATCH,rs6000] make -mno-spe work as expected" on
|
|
|
|
# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
|
2011-11-01 20:54:02 +00:00
|
|
|
PF_CPPFLAGS_SPE := $(call cc-option,-mspe=yes) \
|
|
|
|
$(call cc-option,-mno-spe)
|
|
|
|
PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_SPE)
|