summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 1181104..88f0bfb 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -18,8 +18,13 @@ BIN1= auth.conf \
rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless \
rc.sendmail rc.shutdown \
rc.subr remote rpc services shells \
- sysctl.conf syslog.conf \
- etc.${MACHINE_ARCH}/ttys
+ sysctl.conf syslog.conf
+
+.if exists(${.CURDIR}/etc.${MACHINE}/ttys)
+BIN1+= etc.${MACHINE}/ttys
+.else
+BIN1+= etc.${MACHINE_ARCH}/ttys
+.endif
OPENBSMDIR= ${.CURDIR}/../contrib/openbsm
BSM_ETC_OPEN_FILES= ${OPENBSMDIR}/etc/audit_class \
OpenPOWER on IntegriCloud