mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
bhyve/gdb: Avoid rebuilding target.xml for install targets
Otherwise it's impossible to install from a read-only objdir. Fixes:f81cdf24ba("bhyve: Add support for XML register definitions") Reported by: olivier (cherry picked from commit8a802df1de)
This commit is contained in:
parent
683947e13f
commit
b41151b96d
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ XMLARCH= i386:x86-64
|
|||
FILES+= amd64.xml
|
||||
.endif
|
||||
|
||||
.if !make(install*)
|
||||
target.xml: .PHONY
|
||||
@echo "<?xml version=\"1.0\"?>" > ${.TARGET}
|
||||
@echo "<!DOCTYPE target SYSTEM \"gdb-target.dtd\">" >> ${.TARGET}
|
||||
|
|
@ -17,5 +18,6 @@ target.xml: .PHONY
|
|||
@echo " <xi:include href=\"${file}\"/>" >> ${.TARGET}
|
||||
.endfor
|
||||
@echo "</target>" >> ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue