mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 08:43:23 +00:00
a0ca4af945
- Add -G to the arm64 getopt handler. - Add static register definitions and extensible XML definitions. - Provide definitions for MD bits such as breakpoint encoding and length. - Ensure that bhyve re-injects breakpoint exceptions that it is not responsible for. Reviewed by: andrew Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D44740
27 lines
637 B
Makefile
27 lines
637 B
Makefile
PACKAGE= bhyve
|
|
FILESDIR= ${SHAREDIR}/bhyve/gdb
|
|
|
|
FILES+= target.xml
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
XMLARCH= i386:x86-64
|
|
FILES+= amd64.xml
|
|
.elif ${MACHINE_ARCH} == "aarch64"
|
|
XMLARCH= aarch64
|
|
FILES+= aarch64-core.xml
|
|
.endif
|
|
|
|
.if !make(install*)
|
|
target.xml: .PHONY
|
|
@echo "<?xml version=\"1.0\"?>" > ${.TARGET}
|
|
@echo "<!DOCTYPE target SYSTEM \"gdb-target.dtd\">" >> ${.TARGET}
|
|
@echo "<target>" >> ${.TARGET}
|
|
@echo " <architecture>${XMLARCH}</architecture>" >> ${.TARGET}
|
|
.for file in ${FILES:Ntarget.xml}
|
|
@echo " <xi:include href=\"${file}\"/>" >> ${.TARGET}
|
|
.endfor
|
|
@echo "</target>" >> ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|