[PATCH 2/5] Support NetBSD/m68k.

Thomas Klausner tk at giga.or.at
Wed Nov 7 13:30:28 CET 2012


On Tue, Nov 06, 2012 at 05:29:41PM +0100, Werner Koch wrote:
> On Sat, 27 Oct 2012 19:56, tk at giga.or.at said:
> 
> > +    m68k*-*-netbsdelf)
> > +	echo '#define ELF_SYNTAX'           >>./mpi/asm-syntax.h
> > +	cat  $srcdir/mpi/m68k/syntax.h	    >>./mpi/asm-syntax.h
> > +	path="m68k"
> > +	if ! test x$M68060 = xYES; then
> > +		path="m68k/mc68020 m68k"
> 
> Can you please give a brief description for the M68060 variable?  Is
> that always defined in the env for such a machine?  I believe the
> correct fix is to update config.sub and have an extra rule for M68060.

I overlooked this, sorry. There's related code in the package
infrastructure that does the following:

# be more efficient on M68060 machines
CONFIGURE_ENV+=         M68060=${M68060:Q}
CFLAGS+=                -m68060

...IF the user sets a variable manually -- I don't know if these
machines can be automatically recognized.

There was a bug report about this:
http://gnats.netbsd.org/24579

I'll cc the submitter, spz; perhaps she can shed more light on how to
keep these kinds of machines apart, if she's still running one.
 Thomas



More information about the Gnupg-devel mailing list