Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Generate vers.c and include it in ...
details: https://anonhg.NetBSD.org/src/rev/1276e7c83513
branches: trunk
changeset: 750103:1276e7c83513
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Dec 16 20:57:15 2009 +0000
description:
Generate vers.c and include it in the kernel component.
diffstat:
sys/rump/librump/rumpkern/Makefile.rumpkern | 8 +++++++-
sys/rump/librump/rumpkern/emul.c | 7 ++-----
sys/rump/librump/rumpkern/ident | 1 +
3 files changed, 10 insertions(+), 6 deletions(-)
diffs (55 lines):
diff -r 95d22dfdb61c -r 1276e7c83513 sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern Wed Dec 16 20:54:49 2009 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern Wed Dec 16 20:57:15 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rumpkern,v 1.68 2009/12/14 21:19:23 matt Exp $
+# $NetBSD: Makefile.rumpkern,v 1.69 2009/12/16 20:57:15 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@@ -19,6 +19,12 @@
memalloc.c percpu.c scheduler.c sleepq.c \
sysproxy_socket.c threads.c vm.c
+vers.c: ${RUMPTOP}/../conf/newvers.sh ${RUMPTOP}/../conf/osrelease.sh
+ ${_MKMSG_CREATE} vers.c
+ ${HOST_SH} ${RUMPTOP}/../conf/newvers.sh -i
+SRCS+= vers.c
+CLEANFILES+= vers.c version
+
# stubs
#
SRCS+= pmap_stub.c
diff -r 95d22dfdb61c -r 1276e7c83513 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c Wed Dec 16 20:54:49 2009 +0000
+++ b/sys/rump/librump/rumpkern/emul.c Wed Dec 16 20:57:15 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emul.c,v 1.112 2009/12/03 12:35:34 pooka Exp $ */
+/* $NetBSD: emul.c,v 1.113 2009/12/16 20:57:15 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.112 2009/12/03 12:35:34 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.113 2009/12/16 20:57:15 pooka Exp $");
#include <sys/param.h>
#include <sys/null.h>
@@ -84,9 +84,6 @@
size_t hostnamelen;
const char *panicstr;
-const char ostype[] = "NetBSD";
-const char osrelease[] = "999"; /* paradroid 4evah */
-const char kernel_ident[] = "RUMP-ROAST";
const char *domainname;
int domainnamelen;
diff -r 95d22dfdb61c -r 1276e7c83513 sys/rump/librump/rumpkern/ident
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/librump/rumpkern/ident Wed Dec 16 20:57:15 2009 +0000
@@ -0,0 +1,1 @@
+RUMP-ROAST
Home |
Main Index |
Thread Index |
Old Index