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
The following reply was made to PR kern/38563; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/38563: have the kernel build spit out the kernel version
info
Date: Sat, 3 May 2008 01:12:09 +0000
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
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index