Make this directory more regular. Since it is one we control, use the
freebsd-based names for filenames. This allows us to eliminate almost all of the uses of ${MACHINE_ARCH} here to do special things, and instead we use it to include filenames. This makes new architectures easier to support.
This commit is contained in:
parent
b71e04d3a8
commit
d578fbb66e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206624
@ -14,20 +14,9 @@ SRCS= inferiors.c mem-break.c regcache.c remote-utils.c \
|
||||
server.c signals.c target.c utils.c
|
||||
SRCS+= fbsd-low.c
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
SRCS+= fbsd-amd64-low.c i387-fp.c reg-x86-64.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm"
|
||||
SRCS+= fbsd-arm-low.c reg-arm.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
SRCS+= fbsd-i386-low.c i387-fp.c reg-i386.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
SRCS+= fbsd-ppc-low.c reg-ppc.c
|
||||
SRCS+= fbsd-${MACHINE_ARCH}-low.c reg-${MACHINE_ARCH}.c
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
||||
SRCS+= i387-fp.c
|
||||
.endif
|
||||
|
||||
#CFLAGS+= -I${.CURDIR}/../arch/${MACHINE_ARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user