diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-06-19 14:56:24 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2015-06-19 14:56:24 +0000 |
commit | daf514d0bb31b091ab8d242e19da601601761ea4 (patch) | |
tree | 234c94ae7e69020638bacc910aaeddc6192df571 /share/mk/src.sys.mk | |
parent | 27823c59c56bc7571c8bed9434f98e89ed1d6546 (diff) | |
download | src-daf514d0bb31b091ab8d242e19da601601761ea4.tar.gz src-daf514d0bb31b091ab8d242e19da601601761ea4.zip |
Move include of make.conf back to its old position.
This means moving include of local.sys.mk and src.sys.mk too.
Introduce new includes to take the early slot, for the purpose
of being able to influence toolchains and the like.
Differential Revision: D2860
Reviewed by: imp
Notes
Notes:
svn path=/head/; revision=284598
Diffstat (limited to 'share/mk/src.sys.mk')
-rw-r--r-- | share/mk/src.sys.mk | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/share/mk/src.sys.mk b/share/mk/src.sys.mk index f8dea28ef290..81ecaf6d65f5 100644 --- a/share/mk/src.sys.mk +++ b/share/mk/src.sys.mk @@ -5,24 +5,13 @@ # to preserve historical (and useful) behavior. Changes here need to # be reflected there so SRCCONF isn't included multiple times. -# make sure this is defined in a consistent manner -SRCTOP:= ${.PARSEDIR:tA:H:H} - # 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_) .sinclude "${SRCCONF}" _srcconf_included_: .NOTMAIN .endif -# If we were found via .../share/mk we need to replace that -# with ${.PARSEDIR:tA} so that we can be found by -# sub-makes launched from objdir. -.if ${.MAKEFLAGS:M.../share/mk} != "" -.MAKEFLAGS:= ${.MAKEFLAGS:S,.../share/mk,${.PARSEDIR:tA},} -.endif -.if ${MAKESYSPATH:Uno:M*.../*} != "" -MAKESYSPATH:= ${MAKESYSPATH:S,.../share/mk,${.PARSEDIR:tA},} -.export MAKESYSPATH -.endif + # tempting, but bsd.compiler.mk causes problems this early +# probably need to remove dependence on bsd.own.mk #.include "src.opts.mk" |