Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2010 20:16:41 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        marcel@freebsd.org
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r205710 - head/gnu/usr.bin/gdb
Message-ID:  <20100326.201641.200754750166606483.imp@bsdimp.com>
In-Reply-To: <201003261940.o2QJerY1041668@svn.freebsd.org>
References:  <201003261940.o2QJerY1041668@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <201003261940.o2QJerY1041668@svn.freebsd.org>
            Marcel Moolenaar <marcel@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
:  
: 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100326.201641.200754750166606483.imp>