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 14 15 obj-$(CONFIG_SPE) += math_efp.o 16 17 CFLAGS_fabs.o = -fno-builtin-fabs 18 CFLAGS_math.o = -fno-builtin-fabs 19 20 ccflags-remove-y = -Wmissing-prototypes -Wmissing-declarations -Wunused-but-set-variable 21 22 ifdef KBUILD_EXTRA_WARN 23 CFLAGS_math.o += -Wmissing-prototypes -Wmissing-declarations -Wunused-but-set-variable 24 CFLAGS_math_efp.o += -Wmissing-prototypes -Wmissing-declarations -Wunused-but-set-variable 25 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.