Date: Mon, 12 Apr 2010 23:35:58 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r206530 - head/gnu/usr.bin/gdb Message-ID: <201004122335.o3CNZwNT075225@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Mon Apr 12 23:35:58 2010 New Revision: 206530 URL: http://svn.freebsd.org/changeset/base/206530 Log: Simplify how we select which architectures to add gdbserver for. If the MD files exist, compile it, otherwise omit it. Modified: head/gnu/usr.bin/gdb/Makefile Modified: head/gnu/usr.bin/gdb/Makefile ============================================================================== --- head/gnu/usr.bin/gdb/Makefile Mon Apr 12 23:22:32 2010 (r206529) +++ head/gnu/usr.bin/gdb/Makefile Mon Apr 12 23:35:58 2010 (r206530) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004122335.o3CNZwNT075225>