mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue