1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# Makefile for the linux/parisc floating point code 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun# See arch/parisc/math-emu/README 7*4882a593Smuzhiyunccflags-y := -Wno-parentheses -Wno-implicit-function-declaration \ 8*4882a593Smuzhiyun -Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \ 9*4882a593Smuzhiyun -Wno-implicit-int 10*4882a593Smuzhiyun 11*4882a593Smuzhiyunobj-y := frnd.o driver.o decode_exc.o fpudispatch.o denormal.o \ 12*4882a593Smuzhiyun dfmpy.o sfmpy.o sfsqrt.o dfsqrt.o dfadd.o fmpyfadd.o \ 13*4882a593Smuzhiyun sfadd.o dfsub.o sfsub.o fcnvfxt.o fcnvff.o fcnvxf.o \ 14*4882a593Smuzhiyun fcnvfx.o fcnvuf.o fcnvfu.o fcnvfut.o dfdiv.o sfdiv.o \ 15*4882a593Smuzhiyun dfrem.o sfrem.o dfcmp.o sfcmp.o 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun# Math emulation code beyond the FRND is required for 712/80i and 18*4882a593Smuzhiyun# other very old or stripped-down PA-RISC CPUs -- not currently supported 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunobj-$(CONFIG_MATH_EMULATION) += unimplemented-math-emulation.o 21*4882a593SmuzhiyunCFLAGS_REMOVE_fpudispatch.o = -Wimplicit-fallthrough 22