summaryrefslogtreecommitdiffstats
path: root/share/mk/src.sys.mk
blob: 2682dca0d7bf30bd61fbcdf70d4cf917850565ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $FreeBSD$

# Note: This file is also duplicated in the sys/conf/kern.pre.mk so
# it will always grab SRCCONF, even if it isn't being built in-tree
# to preserve historical (and useful) behavior. Changes here need to
# be reflected there so SRCCONF isn't included multiple times.

# Allow user to configure things that only effect src tree builds.
SRCCONF?=	/etc/src.conf
.if (exists(${SRCCONF}) || ${SRCCONF} != "/etc/src.conf") && !target(_srcconf_included_)
.include "${SRCCONF}"
_srcconf_included_:	.NOTMAIN
.endif
OpenPOWER on IntegriCloud