Subject: Re: CVS commit: syssrc
To: None <tech-kern@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 04/10/2000 00:14:37
oops, I was misled by the existing occurances of __sun3__ in the same file.
from what I can tell, the sun3 compiler defines neither sun3 nor __sun3__,
so the bit in the kernel makefile is the only place that sets anything.
the vast majority of platform-specific ifdefs use the __foo__ style,
so it seems the best course would be to add -D__sun3__ to the kernel
makefile as well, with the goal of eventually removing -Dsun3.
(and similarly for all platforms.) any objections?
-Chuck
On Sun, Apr 09, 2000 at 11:12:43PM -0700, Jason R Thorpe wrote:
> On Sun, Apr 09, 2000 at 07:16:17PM -0700, Chuck Silvers wrote:
>
> > Module Name: syssrc
> > Committed By: chs
> > Date: Mon Apr 10 02:16:17 UTC 2000
> >
> > Modified Files:
> > syssrc/sys/dev/vme: if_ie_vme.c xd.c xy.c
> >
> > Log Message:
> > sparc -> __sparc__
> > sun3 -> __sun3__
>
> The sun3 one is wrong; the Makefile does -Dsun3
>
> --
> -- Jason R. Thorpe <thorpej@zembu.com>