NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38563: have the kernel build spit out the kernel version info

On Sat, May 03, 2008 at 02:47:00AM +1000, matthew green wrote:
 > nice idea, but it can't go in with this patch.  it isn't
 > cross-compile friendly.
 > i also want the version.  perhaps we can print the 'version'
 > files contents instead, and not depend on a working "what".

How about

   ${SED} '/const char sccs/!d;s/.*#)//;s/\\.*//' vers.c


David A. Holland

Home | Main Index | Thread Index | Old Index