WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / math-emu / Makefile
bloba8794032f15ff35419b2ca25bd94009d18667662
1 # SPDX-License-Identifier: GPL-2.0
2 math-emu-common-objs = math.o fre.o fsqrt.o fsqrts.o frsqrtes.o mtfsf.o mtfsfi.o
3 obj-$(CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED) += $(math-emu-common-objs)
4 obj-$(CONFIG_MATH_EMULATION_FULL) += $(math-emu-common-objs) fabs.o fadd.o \
5 fadds.o fcmpo.o fcmpu.o fctiw.o \
6 fctiwz.o fdiv.o fdivs.o fmadd.o \
7 fmadds.o fmsub.o fmsubs.o fmul.o \
8 fmuls.o fnabs.o fneg.o fnmadd.o \
9 fnmadds.o fnmsub.o fnmsubs.o fres.o \
10 frsp.o fsel.o lfs.o frsqrte.o fsub.o \
11 fsubs.o mcrfs.o mffs.o mtfsb0.o \
12 mtfsb1.o stfiwx.o stfs.o math.o \
13 fmr.o lfd.o stfd.o
15 obj-$(CONFIG_SPE) += math_efp.o
17 CFLAGS_fabs.o = -fno-builtin-fabs
18 CFLAGS_math.o = -fno-builtin-fabs
20 ccflags-y = -w