diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-08 17:09:17 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-08 17:09:17 +0000 |
commit | f59bd72b7482ea3e129a0b34ec6ee630dfa304de (patch) | |
tree | ecd233cb674a8905126409c7e7e68204d4b13a58 /share | |
parent | 81148bc3733eed7cb85161f70f125d745ab9f63f (diff) | |
download | FreeBSD-src-f59bd72b7482ea3e129a0b34ec6ee630dfa304de.zip FreeBSD-src-f59bd72b7482ea3e129a0b34ec6ee630dfa304de.tar.gz |
Fix some makeman issues.
- Don't bother looking up REVISION/BRANCH/etc from release/, or the
CPUTYPE check, as these are not used for makeman and wastes time. The also
invokes auto.obj.mk after I reverted auto.obj.mk ignoring -V in r291312.
- Don't modify CC or PATH when WITH_CCACHE_BUILD or WITH_META_MODE is enabled
as it leads to bsd.compiler.mk errors.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.compiler.mk | 1 | ||||
-rw-r--r-- | share/mk/local.meta.sys.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk index 30da2af..e5d349a 100644 --- a/share/mk/bsd.compiler.mk +++ b/share/mk/bsd.compiler.mk @@ -30,6 +30,7 @@ __<bsd.compiler.mk>__: # Handle ccache after CC is determined, but not if CC/CXX are already # overridden with a manual setup. .if ${MK_CCACHE_BUILD:Uno} == "yes" && \ + !make(showconfig) && \ (${CC:M*ccache/world/*} == "" || ${CXX:M*ccache/world/*} == "") # CC is always prepended with the ccache wrapper rather than modifying # PATH since it is more clear that ccache is used and avoids wasting time diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk index 03c4723..1e0fef8 100644 --- a/share/mk/local.meta.sys.mk +++ b/share/mk/local.meta.sys.mk @@ -215,6 +215,7 @@ TOOLSDIR?= ${STAGE_HOST_OBJTOP} .endif # Don't use the bootstrap tools logic on itself. .if ${.TARGETS:Mbootstrap-tools} == "" && \ + !make(showconfig) && \ !defined(BOOTSTRAPPING_TOOLS) && !empty(TOOLSDIR) && ${.MAKE.LEVEL} == 0 .for dir in /sbin /bin /usr/sbin /usr/bin PATH:= ${TOOLSDIR}${dir}:${PATH} |