Subject: Re: Problem with "sync" in NetBSD-current...
To: None <port-cobalt@NetBSD.org>
From: Peter Froehlich <phf@cs.jhu.edu>
List: port-cobalt
Date: 02/13/2007 17:10:49
Brief follow up:

On Feb 13, 2007, at 12:34 PM, Peter Froehlich wrote:

> So I *assume* that there should be some kind of conditional  
> compilation happening here to avoid sending these out for MIPS I?  
> On the other hand, why the heck do I need to compile for MIPS I if  
> I am running NetBSD on a Qube 2 that implements MIPS IV (of which  
> "sync" is certainly part)? Is there a simple way to tell the build  
> system to compile for MIPS IV instead? Shouldn't that be happening  
> for the cobalt port anyway?

In sys/arch/mips/include/lock.h there actually is an #ifdef regarding  
MIPS I but for some reason it doesn't seem to "fire" when compiling  
NetBSD-current for the Qube. So there's still something a little  
inconsistent happening here, probably inside the mega-confusing (for  
me) makefiles... :-/ I'd like to either make that #ifdef kick in or  
(preferably) build for MIPS II+ and not MIPS I. A hint for doing  
either would be very much appreciated. :-)

Cheers,
Peter
--
Peter H. Froehlich <><><><><><> http://www.cs.jhu.edu/~phf/
OpenPGP: ABC2 9BCC 1445 86E9 4D59  F532 A8B2 BFAE 342B E9D9