xregs_sig: Simplify Makefile by using MACHINE_CPUARCH in SRCS
Reviewed by: kib, jhb Differential Revision: https://reviews.freebsd.org/D40383
This commit is contained in:
@@ -2,16 +2,10 @@
|
|||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
PROG= xregs_sig
|
PROG= xregs_sig
|
||||||
SRCS= xregs_sig.c
|
SRCS= xregs_sig.c c2x2c_${MACHINE_CPUARCH}.S
|
||||||
|
|
||||||
MAN=
|
MAN=
|
||||||
|
|
||||||
LIBADD= pthread
|
LIBADD= pthread
|
||||||
|
|
||||||
.if ${MACHINE_CPUARCH} == "amd64"
|
|
||||||
SRCS+= c2x2c_amd64.S
|
|
||||||
.endif
|
|
||||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
|
||||||
SRCS+= c2x2c_aarch64.S
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|||||||
Reference in New Issue
Block a user