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:
Warner Losh 2010-04-12 23:35:58 +00:00
parent 0bdee1fafe
commit b29d0c6134

View File

@ -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