wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2002,2003 Motorola Inc. |
| 3 | # Xianghua Xiao, X.Xiao@motorola.com |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Joakim Tjernlund | 703b808 | 2010-12-06 14:36:46 +0100 | [diff] [blame] | 8 | PLATFORM_RELFLAGS += -meabi |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 9 | |
Kumar Gala | 4c81ed1 | 2009-08-06 18:28:34 -0500 | [diff] [blame] | 10 | PLATFORM_CPPFLAGS += -ffixed-r2 -Wa,-me500 -msoft-float -mno-string |
Leon Woestenberg | 15bf283 | 2009-10-26 10:03:32 +0100 | [diff] [blame] | 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 |
Wolfgang Denk | 9209ed5 | 2011-11-01 20:54:02 +0000 | [diff] [blame] | 15 | PF_CPPFLAGS_SPE := $(call cc-option,-mspe=yes) \ |
| 16 | $(call cc-option,-mno-spe) |
| 17 | PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_SPE) |