summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-03-04 14:16:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-03-04 14:16:17 +0000
commitcb440c179c613aa978879dc1ed66a79f0593a91d (patch)
tree7ec4321fa62dce371db3863a035100bde1911f5f /regress/sys
parent7e573859f0675b73595fa7fbee87ce7f136f6c59 (diff)
be more careful determining which regress/sys/arch/XXX directory to
enter; issue came up a dir was deleted containing a obj@ link ok millert
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/Makefile b/regress/sys/Makefile
index a1cdcf73a96..8b0818fb168 100644
--- a/regress/sys/Makefile
+++ b/regress/sys/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.20 2015/10/14 12:47:07 vgross Exp $
+# $OpenBSD: Makefile,v 1.21 2016/03/04 14:16:16 deraadt Exp $
# $NetBSD: Makefile,v 1.4 1995/04/20 22:41:08 cgd Exp $
SUBDIR+= copy crypto ddb fifofs kern net netinet netinet6 ptrace sys uvm dev
-.if exists(arch/${MACHINE})
+.if exists(arch/${MACHINE}/Makefile)
SUBDIR+= arch/${MACHINE}
.endif
-.if exists(arch/${MACHINE_ARCH}) && ${MACHINE} != ${MACHINE_ARCH}
+.if exists(arch/${MACHINE_ARCH}/Makefile) && ${MACHINE} != ${MACHINE_ARCH}
SUBDIR+= arch/${MACHINE_ARCH}
.endif