mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
META_MODE: Follow-up r287879 and have 'make -V .OBJDIR' still invoke auto.obj.mk.
When inspecting this value it is more expected to have it show the automatically-created directory value rather than CURDIR. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
8c034f6af7
commit
533fbec505
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288152
@ -52,8 +52,11 @@ __ENV_ONLY_OPTIONS:= \
|
||||
.endif
|
||||
.if ${MK_AUTO_OBJ} == "yes"
|
||||
# This needs to be done early - before .PATH is computed
|
||||
# Don't do this if just running 'make -V' or 'make showconfig'
|
||||
.if ${.MAKEFLAGS:M-V} == "" && !make(showconfig)
|
||||
# Don't do this if just running 'make -V' (but do when inspecting .OBJDIR) or
|
||||
# 'make showconfig' (during makeman which enables all options when meta mode
|
||||
# is not expected)
|
||||
.if (${.MAKEFLAGS:M-V} == "" || ${.MAKEFLAGS:M.OBJDIR} != "") && \
|
||||
!make(showconfig)
|
||||
.sinclude <auto.obj.mk>
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user