mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 08:55:18 -04:00
Given that we have converted to ELFv2 for BE already, endianness is the only difference between the two ARCHs. As such, there is no need to differentiate LIBC_ARCH between the two. Combining them like this lets us avoid needing to have two copies of several bits for no good reason. Sponsored by: Tag1 Consulting, Inc.
23 lines
359 B
Makefile
23 lines
359 B
Makefile
# $FreeBSD$
|
|
|
|
MDSRCS+= \
|
|
bcopy.S \
|
|
bcopy_vsx.S \
|
|
bcopy_resolver.c \
|
|
memcpy.S \
|
|
memcpy_vsx.S \
|
|
memcpy_resolver.c \
|
|
memmove.S \
|
|
memmove_vsx.S \
|
|
memmove_resolver.c \
|
|
strncpy_arch_2_05.S \
|
|
strncpy.c \
|
|
strncpy_resolver.c
|
|
|
|
# XXX Port strcpy to LE.
|
|
.if ${MACHINE_ARCH} == "powerpc64"
|
|
MDSRCS+= \
|
|
strcpy_arch_2_05.S \
|
|
strcpy.c \
|
|
strcpy_resolver.c
|
|
.endif
|