Subject: CVS commit: syssrc/sys/conf (fwd)
To: , <current-users@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 06/17/2002 13:44:46
Thought I'd make sure folks are aware of a change I made to
Makefile.kern.inc. The commit message is below.

With this change, you can cd to a kernel compile directory, and type "make
cscope" to fire up cscope looking at all of the source for that kernel.

"make mkid" will make an ID file covering just that kernel's source. You
can then run eid or gid to find the routines that kernel will use.

Note you need the devel/cscope and devel/id-utils packages installed for
the cscope and mkid targets (respectively) to work.

I added this change as I was tired of finding MD routines in all (50ish)
machine directories when I was focusing on what one particular machine
did. :-)

Enjoy!

Take care,

Bill

---------- Forwarded message ----------
Date: Mon, 17 Jun 2002 23:31:28 +0300 (EEST)
From: Bill Studenmund <wrstuden@netbsd.org>
To: source-changes@netbsd.org
Subject: CVS commit: syssrc/sys/conf


Module Name:	syssrc
Committed By:	wrstuden
Date:		Mon Jun 17 20:31:27 UTC 2002

Modified Files:
	syssrc/sys/conf: Makefile.kern.inc

Log Message:
Add cscope and mkid (and cscope.out and ID) targets to kernel compile
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 syssrc/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.