mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
META_MODE: Bmake 20171028 in r325340 simplifies the meta filename.
Now if the meta file is in the objdir, the objdir is stripped away from the meta filename. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
cedc7c5870
commit
2a8176cb61
1 changed files with 5 additions and 1 deletions
|
|
@ -233,10 +233,14 @@ afterdepend: beforedepend
|
|||
# mimicing what bmake's meta_name() does and adding in the full path
|
||||
# as well to ensure that the expected meta file is read.
|
||||
.if ${__obj:M*/*}
|
||||
.if ${MAKE_VERSION} < 20171028
|
||||
_meta_obj= ${.OBJDIR:C,/,_,g}_${__obj:C,/,_,g}.meta
|
||||
.else
|
||||
_meta_obj= ${__obj:C,/,_,g}.meta
|
||||
.endif # ${MAKE_VERSION} < 20171028
|
||||
.else
|
||||
_meta_obj= ${__obj}.meta
|
||||
.endif
|
||||
.endif # ${__obj:M*/*}
|
||||
_dep_obj= ${DEPENDFILE}.${__obj:${DEPEND_FILTER}}
|
||||
.if defined(_meta_filemon)
|
||||
_depfile= ${.OBJDIR}/${_meta_obj}
|
||||
|
|
|
|||
Loading…
Reference in a new issue