svn commit: r205710 - head/gnu/usr.bin/gdb
M. Warner Losh
imp at bsdimp.com
Sat Mar 27 02:21:17 UTC 2010
In message: <201003261940.o2QJerY1041668 at svn.freebsd.org>
Marcel Moolenaar <marcel at FreeBSD.org> writes:
: Author: marcel
: Date: Fri Mar 26 19:40:53 2010
: New Revision: 205710
: URL: http://svn.freebsd.org/changeset/base/205710
:
: Log:
: Handle cross-builds for gdbserver.
Cross-builds outside the normal build system? Otherwise, MACHINE_ARCH
is the right thing to check since TARGET* is only set in the
bootstrapping stages, not the actual build stages.
Warner
: Modified:
: head/gnu/usr.bin/gdb/Makefile
:
: Modified: head/gnu/usr.bin/gdb/Makefile
: ==============================================================================
: --- head/gnu/usr.bin/gdb/Makefile Fri Mar 26 19:00:17 2010 (r205709)
: +++ head/gnu/usr.bin/gdb/Makefile Fri Mar 26 19:40:53 2010 (r205710)
: @@ -2,7 +2,9 @@
:
: SUBDIR= doc libgdb gdb gdbtui kgdb
:
: -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"
: +TARGET_ARCH?= ${MACHINE_ARCH}
: +.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "arm" || \
: + ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc"
: SUBDIR+=gdbserver
: .endif
:
:
More information about the svn-src-all
mailing list