mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix building on read-only source trees.
This partially reverts r296702 and reworks the original check to only look in .CURDIR. This avoids ever trying to rebuild a .src file that is already in the source tree as an override. PR: 211952 MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
d34d90a89d
commit
6ea8e4de48
1 changed files with 2 additions and 0 deletions
|
|
@ -67,9 +67,11 @@ codesets: ${ESDB}
|
|||
|
||||
.if !defined(NO_PREPROC)
|
||||
.for i in ${PART}
|
||||
.if !exists(${.CURDIR}/${EPREFIX}${i:S/:/@/}.src)
|
||||
${EPREFIX}${i:S/:/@/}.src: ${CODE}.src
|
||||
sed ${SED_EXP:S@%%PART%%@${i}@} ${.ALLSRC} > ${.TARGET}
|
||||
@echo ${.TARGET} >>.tmpfiles
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue