xref: /freebsd/share/mk/src.sys.mk (revision da7d7b9c861cf98e912c0bd1e549752d2dae4fb6)
1# $FreeBSD$
2
3# Note: This file is also duplicated in the sys/conf/kern.pre.mk so
4# it will always grab SRCCONF, even if it isn't being built in-tree
5# to preserve historical (and useful) behavior. Changes here need to
6# be reflected there so SRCCONF isn't included multiple times.
7
8# Allow user to configure things that only effect src tree builds.
9SRCCONF?=	/etc/src.conf
10.if (exists(${SRCCONF}) || ${SRCCONF} != "/etc/src.conf") && !target(_srcconf_included_)
11.sinclude "${SRCCONF}"
12_srcconf_included_:	.NOTMAIN
13.endif
14
15# tempting, but bsd.compiler.mk causes problems this early
16# probably need to remove dependence on bsd.own.mk
17#.include "src.opts.mk"
18