Subject: Re: A couple of suggestions
To: None <port-powerpc@netbsd.org>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-powerpc
Date: 01/06/2004 12:49:33
On Tue, Jan 06, 2004 at 12:37:17PM -0500, Allen Briggs wrote:
> > or CPPFLAGS+=-D__${MACHINE}__
> I like this. We already define __${BOARDTYPE}__ right now. I'll poke
> around and try to see where we currently use ${MACHINE} and fix them.
> The only one that I can think of off-hand is sys/arch/isa/fd.c.
Actually, after finding a couple of occurrences in sys/dev, I think
it would be best to maintain consistency with the other ports that
define ${MACHINE} and use
CPPFLAGS+=-D${MACHINE}=${MACHINE}
instead.
-allen
--
Allen Briggs briggs@wasabisystems.com
Wasabi Systems, Inc. http://www.wasabisystems.com/