In message: <201003261940.o2qjery1041...@svn.freebsd.org>
            Marcel Moolenaar <mar...@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
:  
: 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to