Subject: Re: CVS commit: src/sys/compat/netbsd32
To: Andrew Doran <ad@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 12/08/2007 00:35:46
On Fri, Dec 07, 2007 at 10:42:12PM +0000, Andrew Doran wrote:
> 
> Module Name:	src
> Committed By:	ad
> Date:		Fri Dec  7 22:42:12 UTC 2007
> 
> Modified Files:
> 	src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
> 	    netbsd32_syscalls.c netbsd32_sysent.c
> 
> Log Message:
> Reg... hang on, why don't we build this at compile time?!?

I've been thinking about that ....
It really ought to be possible.
I suspect that 'make includes' will need to generate them since
it is the only pass that descends into src/sys.
The real problem I see is that make doesn't really like one command
generating multiple targets - but we seem to handle that for yacc (etc).

I'm not sure whether the 'awk' available to the system build can be
assumed to be able to run the current awk script.
OTOH I could write a sh script to do the same job (possibly for the AT&T
/bin/sh on solaris if really necessary - which it isn't).

	David

-- 
David Laight: david@l8s.co.uk