Improve previous:
- Add suffix ``d'' for mkdep(1). - Improve comment a little...
This commit is contained in:
parent
52d0684901
commit
76020b2c7d
|
@ -1,14 +1,13 @@
|
|||
# $NetBSD: Makefile.inc,v 1.14 2021/07/24 05:27:25 rin Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.15 2021/07/26 12:49:13 rin Exp $
|
||||
|
||||
SRCS+= bzero.S ffs.S strlen.S
|
||||
NO_SRCS+= memset.S
|
||||
|
||||
# disable the asm versions of these because they break the explora.
|
||||
# the special rules here are to override the suffix rules which seem
|
||||
# to prefer .S files over .c
|
||||
# XXX
|
||||
# Disable asm versions that use unaligned memory access and thus break 403.
|
||||
.if ${MACHINE} == "evbppc"
|
||||
. for name in bcopy memcmp memcpy memmove
|
||||
. for suffix in o po pico go
|
||||
. for suffix in o po pico go d
|
||||
${name}.${suffix}: ${name}.c
|
||||
. endfor
|
||||
. endfor
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.32 2021/07/24 05:29:26 rin Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.33 2021/07/26 12:49:13 rin Exp $
|
||||
|
||||
SRCS+= bswap16.c bswap32.c
|
||||
SRCS+= htonl.c htons.c ntohl.c ntohs.c
|
||||
|
@ -7,10 +7,11 @@ SRCS+= syncicache.c
|
|||
SRCS+= ffs.S memset.S strlen.S
|
||||
SRCS+= gprsavrest.S
|
||||
|
||||
# Disable the asm versions on evbppc because they break the Explora
|
||||
# XXX
|
||||
# Disable asm versions that use unaligned memory access and thus break 403.
|
||||
.if ${MACHINE} == "evbppc"
|
||||
. for name in memcmp memcpy memmove
|
||||
. for suffix in o po pico go
|
||||
. for suffix in o po pico go d
|
||||
${name}.${suffix}: ${name}.c
|
||||
. endfor
|
||||
. endfor
|
||||
|
|
Loading…
Reference in New Issue