Subject: Re: -current make in src/sbin/raidctl
To: None <current-users@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: current-users
Date: 03/24/1999 15:08:56
[ On Wednesday, March 24, 1999 at 09:06:48 (-0600), Greg Oster wrote: ]
> Subject: Re: -current make in src/sbin/raidctl
>
> CPPFLAGS+= -DCSRG_BASED -DNARROWPROTO -DRF_UTILITY=1 -DSIMULATE=1 -I${LOOKHERE}
>
> I'll dig into this further in a bit..)
Those are flags for CPP, and in theory are necessary for "make depend"
too, and so should indeed be in CPPFLAGS. COPTS should only be used for
-O2, -pipe, and similar things. ;-)
> Ya. It disappeared from src/sys/dev/raidframe/rf_raidframe.h during
> cleanup a while back. Unfortunately I've not had time to cleanup
> rf_configure.c like I've wanted to... :-( For raidctl, however,
> RF_SCSI_DISK_MAJOR isn't needed at all, and it not being defined is
> not the real problem.
Hopefully when you get time to do this it will no longer be necessary to
build raidctl in a tree that includes kernel source in the specified
relative position... ;-) (i.e. the user-level interface headers will
be installed in /usr/include)
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>