mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Simplify how we select which architectures to add gdbserver for. If
the MD files exist, compile it, otherwise omit it.
This commit is contained in:
parent
0bdee1fafe
commit
b29d0c6134
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206530
@ -3,8 +3,7 @@
|
||||
SUBDIR= doc libgdb gdb gdbtui kgdb
|
||||
|
||||
TARGET_ARCH?= ${MACHINE_ARCH}
|
||||
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "arm" || \
|
||||
${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc"
|
||||
.if exists(${.CURDIR}/gdbserver/reg-${TARGET_ARCH}.c)
|
||||
SUBDIR+=gdbserver
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user