mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Only include src.conf if _WITHOUT_SRCCONF not defined.
This does not really fix anything currently since _WITHOUT_SRCCONF must be defined in the environment or local.sys.*.mk, but is proper and needed for downstream fixes. I am working towards reworking src.conf inclusion still. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f3dd2bc756
commit
945ceaafbc
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
# to preserve historical (and useful) behavior. Changes here need to
|
||||
# be reflected there so SRCCONF isn't included multiple times.
|
||||
|
||||
.if !defined(_WITHOUT_SRCCONF)
|
||||
# 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_)
|
||||
|
|
@ -29,6 +30,7 @@ __postrcconf_${var}:= ${MK_${var}:U-}${WITHOUT_${var}:Uno:Dyes}${WITH_${var}:Uno
|
|||
.endfor
|
||||
|
||||
.endif # SRCCONF
|
||||
.endif
|
||||
|
||||
# tempting, but bsd.compiler.mk causes problems this early
|
||||
# probably need to remove dependence on bsd.own.mk
|
||||
|
|
|
|||
Loading…
Reference in a new issue