Skip libctf if MKCTF=no irrespective of MKDTRACE, for real.

Apparently this logic is copied in lib/Makefile and in
external/cddl/osnet/lib/Makefile.  Is the latter even used?
This commit is contained in:
riastradh 2016-02-29 20:59:35 +00:00
parent 73a99c19aa
commit 17ca604b7a
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.239 2016/01/26 17:47:35 christos Exp $
# $NetBSD: Makefile,v 1.240 2016/02/29 20:59:35 riastradh Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@ -103,7 +103,7 @@ SUBDIR+= .WAIT
SUBDIR+= ../external/bsd/librtld_db/lib # depends on libutil
.endif
.if ${MKDTRACE} != "no" || ${MKCTF} != "no"
.if ${MKCTF} != "no"
SUBDIR+= ../external/cddl/osnet/lib/libctf
.endif