xref: /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/config.mk (revision 0c3b301f79fcad081c8509ee4cb06e7b0478c8c1)
183d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
2a47a12beSStefan Roese#
3a47a12beSStefan Roese# (C) Copyright 2002,2003 Motorola Inc.
4a47a12beSStefan Roese# Xianghua Xiao, X.Xiao@motorola.com
5a47a12beSStefan Roese
6c6d12624SMasahiro YamadaPLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string
7*45e81f9aSJoakim TjernlundPLATFORM_RELFLAGS += -msingle-pic-base -fno-jump-tables
8a47a12beSStefan Roese
9a47a12beSStefan Roese# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
10a47a12beSStefan Roese# see "[PATCH,rs6000] make -mno-spe work as expected" on
11a47a12beSStefan Roese# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
12de04d64eSMasahiro YamadaPLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \
13cca4e4aeSWolfgang Denk		   $(call cc-option,-mno-spe)
14