xref: /freebsd/share/mk/src.sys.mk (revision bc96366c864c07ef352edb92017357917c75b36c)
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.include "${SRCCONF}"
12_srcconf_included_:	.NOTMAIN
13.endif
14