mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
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:
parent
1b0d96f3c4
commit
e5b3cd6100
1 changed files with 2 additions and 8 deletions
|
|
@ -2,16 +2,10 @@
|
|||
.include <src.opts.mk>
|
||||
|
||||
PROG= xregs_sig
|
||||
SRCS= xregs_sig.c
|
||||
SRCS= xregs_sig.c c2x2c_${MACHINE_CPUARCH}.S
|
||||
|
||||
MAN=
|
||||
|
||||
LIBADD= pthread
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "amd64"
|
||||
SRCS+= c2x2c_amd64.S
|
||||
.endif
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
SRCS+= c2x2c_aarch64.S
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue