Fix building with M68040 and M68060 options.
This commit is contained in:
parent
bcfabd50d9
commit
b56afa4dc8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.222 2023/10/08 13:47:51 he Exp $
|
||||
# $NetBSD: Makefile,v 1.223 2023/12/21 06:32:20 jklos Exp $
|
||||
#
|
||||
# @(#)Makefile 5.1beta 93/09/24
|
||||
#
|
||||
|
@ -144,14 +144,14 @@ SUBDIR=arch/i387
|
|||
.if defined(M68060)
|
||||
.PATH: ${.CURDIR}/arch/m68060
|
||||
.include "${.CURDIR}/arch/m68060/Makefile.list"
|
||||
COPTS+=-m68060
|
||||
COPTS+= -m68060
|
||||
.PATH: ${.CURDIR}/arch/m68k
|
||||
ARCH_SRCS += s_ceil.S s_copysign.S s_finite.S s_floor.S s_rint.S
|
||||
.elif defined(M68040)
|
||||
.PATH: ${.CURDIR}/arch/m68k
|
||||
COPTS+=-m68040
|
||||
COPTS+= -m68040
|
||||
ARCH_SRCS = s_copysign.S s_finite.S
|
||||
.else
|
||||
.endif
|
||||
.if (${MKSOFTFLOAT} == "no")
|
||||
.PATH: ${.CURDIR}/arch/mc68881 ${.CURDIR}/arch/m68k
|
||||
ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \
|
||||
|
@ -160,7 +160,6 @@ ARCH_SRCS = e_acos.S e_asin.S e_atanh.S e_cosh.S e_exp.S e_fmod.S e_log.S \
|
|||
s_log1p.S s_logb.S s_rint.S s_scalbn.S s_sin.S s_tan.S s_tanh.S
|
||||
COMMON_SRCS += fenv.c s_nexttoward.c s_rintl.c
|
||||
.endif
|
||||
.endif
|
||||
COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
|
||||
# end of m68k
|
||||
|
||||
|
|
Loading…
Reference in New Issue