*BSD News Article 1997


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!destroyer!ais.org!umeecs!dip.eecs.umich.edu!dmuntz
From: dmuntz@dip.eecs.umich.edu (Daniel A Muntz)
Subject: _version in kernel build
Message-ID: <1992Jul17.202419.24657@zip.eecs.umich.edu>
Sender: news@zip.eecs.umich.edu (Mr. News)
Organization: University of Michigan EECS Dept., Ann Arbor, MI
Date: Fri, 17 Jul 1992 20:24:19 GMT
Lines: 17

The following is a diff for /usr/sys/i386/conf/Makefile.i386
It alters the kernel makefile to generate vers.c and vers.o.

38c38
< SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o
---
> SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o vers.o
40c40
< SYSTEM_LD_HEAD= 	@echo loading $@; rm -f $@
---
> SYSTEM_LD_HEAD= 	@echo loading $@; rm -f $@ ; sh /sys/conf/newvers.sh; cc -c vers.c
121a122,124
> 
> vers.o:
> 	touch vers.o

  -Dan