We can now leverage bsd.opts.mk to use MK_* to control what we build.

This commit is contained in:
sjg 2014-05-04 16:39:18 +00:00
parent 19fa76f9b5
commit 8041d4fdaa

View File

@ -4,9 +4,16 @@
DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
DIRDEPS = \
pkgs/pseudo/clang \
pkgs/pseudo/gcc \
usr.bin/xinstall \
.if !defined(MK_CLANG)
.include "${SRCTOP}/share/mk/bsd.opts.mk"
.endif
DIRDEPS= usr.bin/xinstall
.if ${MK_CLANG} == "yes"
DIRDEPS+= pkgs/pseudo/clang
.endif
.if ${MK_GCC} == "yes"
DIRDEPS+= pkgs/pseudo/gcc
.endif
.include <dirdeps.mk>