diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-03-21 11:58:34 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-03-21 11:58:34 +0000 |
commit | 9febd4fd2dec388be98310242f4498ff29280307 (patch) | |
tree | f3dc9dfc680997a121d999d91d34a811f8c599e0 /regress/sys/dev | |
parent | 18263d7f04130052b42b37a0e294e15abf931566 (diff) |
Do not run keyboard and mouse device detection during make clean,
cleandir, obj. Eliminates a X11 keyboard problem seen by claudio@
during make build.
OK anton@ deraadt@
Diffstat (limited to 'regress/sys/dev')
-rw-r--r-- | regress/sys/dev/wscons/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/sys/dev/wscons/Makefile b/regress/sys/dev/wscons/Makefile index 1d692d49cf7..4460391b45a 100644 --- a/regress/sys/dev/wscons/Makefile +++ b/regress/sys/dev/wscons/Makefile @@ -1,13 +1,15 @@ -# $OpenBSD: Makefile,v 1.8 2019/02/12 22:26:15 bluhm Exp $ +# $OpenBSD: Makefile,v 1.9 2019/03/21 11:58:33 bluhm Exp $ WARNINGS= yes +.if ! (make(clean) || make(cleandir) || make(obj)) DEVICES= wskbd0 wsmouse0 wskbd .for d in ${DEVICES} HAVE_${d} ?!= if dd if=/dev/${d} count=0 status=none; \ then echo yes; else echo no; fi MAKE := HAVE_${d}="${HAVE_${d}}" ${MAKE} .endfor +.endif PROG_sigio= sigio PROGS+= ${PROG_sigio} |