1 # SPDX-License-Identifier: GPL-2.0 !! 1 # 2 math-emu-common-objs = math.o fre.o fsqrt.o fs !! 2 # Makefile for the FPU instruction emulation. 3 obj-$(CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED) !! 3 # 4 obj-$(CONFIG_MATH_EMULATION_FULL) += $(math-em !! 4 5 fadds. !! 5 CFLAGS += -I. -I$(TOPDIR)/include/math-emu -w 6 fctiwz !! 6 7 fmadds !! 7 ifeq ($(CONFIG_MATHEMU),y) 8 fmuls. !! 8 9 fnmadd !! 9 O_TARGET := math-emu.o 10 frsp.o !! 10 obj-y := math.o qrnnd.o 11 fsubs. !! 11 12 mtfsb1 !! 12 else 13 fmr.o !! 13 14 !! 14 list-multi := math-emu.o 15 obj-$(CONFIG_SPE) += math_efp.o !! 15 math-emu-objs := math.o qrnnd.o 16 !! 16 obj-m := math-emu.o 17 CFLAGS_fabs.o = -fno-builtin-fabs !! 17 math-emu.o: $(math-emu-objs) 18 CFLAGS_math.o = -fno-builtin-fabs !! 18 $(LD) -r -o $@ $(math-emu-objs) 19 !! 19 20 ccflags-remove-y = -Wmissing-prototypes -Wmiss << 21 << 22 ifdef KBUILD_EXTRA_WARN << 23 CFLAGS_math.o += -Wmissing-prototypes -Wmissin << 24 CFLAGS_math_efp.o += -Wmissing-prototypes -Wmi << 25 endif 20 endif >> 21 >> 22 include $(TOPDIR)/Rules.make
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.