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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"