We can now leverage bsd.opts.mk to use MK_* to control what we build.
This commit is contained in:
parent
1c19778e8d
commit
388b68dc72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=265330
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user