Generate vers.c and include it in the kernel component.
This commit is contained in:
parent
ffd78a62ec
commit
590ffe150c
@ -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"
|
.include "${RUMPTOP}/Makefile.rump"
|
||||||
@ -19,6 +19,12 @@ SRCS= rump.c rumpcopy.c emul.c intr.c locks.c ltsleep.c \
|
|||||||
memalloc.c percpu.c scheduler.c sleepq.c \
|
memalloc.c percpu.c scheduler.c sleepq.c \
|
||||||
sysproxy_socket.c threads.c vm.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
|
# stubs
|
||||||
#
|
#
|
||||||
SRCS+= pmap_stub.c
|
SRCS+= pmap_stub.c
|
||||||
|
@ -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.
|
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||||
@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/param.h>
|
||||||
#include <sys/null.h>
|
#include <sys/null.h>
|
||||||
@ -84,9 +84,6 @@ char hostname[MAXHOSTNAMELEN];
|
|||||||
size_t hostnamelen;
|
size_t hostnamelen;
|
||||||
|
|
||||||
const char *panicstr;
|
const char *panicstr;
|
||||||
const char ostype[] = "NetBSD";
|
|
||||||
const char osrelease[] = "999"; /* paradroid 4evah */
|
|
||||||
const char kernel_ident[] = "RUMP-ROAST";
|
|
||||||
const char *domainname;
|
const char *domainname;
|
||||||
int domainnamelen;
|
int domainnamelen;
|
||||||
|
|
||||||
|
1
sys/rump/librump/rumpkern/ident
Normal file
1
sys/rump/librump/rumpkern/ident
Normal file
@ -0,0 +1 @@
|
|||||||
|
RUMP-ROAST
|
Loading…
Reference in New Issue
Block a user