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.
8 # Allow user to configure things that only effect src tree builds.
9 SRCCONF?= /etc/src.conf
10 .if (exists(${SRCCONF}) || ${SRCCONF} != "/etc/src.conf") && !target(_srcconf_included_)
11 .sinclude "${SRCCONF}"
12 _srcconf_included_: .NOTMAIN
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"