*BSD News Article 19119


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!uknet!mcsun!sztaki!bagira.fsz.bme.hu!pink
From: pink@fsz.bme.hu (Szabolcs Szigeti (PinkPanther)
Subject: Re: Stupid question about kernel name
Message-ID: <CB6E63.F7@sztaki.hu>
Sender: news@sztaki.hu (News system)
Reply-To: pink@fsz.bme.hu
Organization: Department of Process Control, Technical University of Budapest, HUNGARY
References: <23bulf$34u@umd5.umd.edu>
Date: Tue, 3 Aug 1993 08:56:26 GMT
Lines: 29

In article <23bulf$34u@umd5.umd.edu>, mark@roissy.umd.edu (Mark Sienkiewicz) writes:
>In article <23a51m$7vr@stimpy.css.itd.umich.edu> altitude@css.itd.umich.edu (Alex Tang) writes:
>>Hi.  I'm building a new kernel that has some new options enabled.  I've
>>already built a whole bunch.  I'm doing it from memory now.  (('ve got
>....
>>"config SNRE2SWAP"
>>cd to /sys/compile/SNRE2SWAP
>>"make newvers"
>>"make depend"
>>"make"
>>boot the new kernel.
>
>I find that if you run config, you generally have to "make clean", then do
>a complete build.  You would think "make depend" causes it to rebuild
>everything, but you would be wrong.
>
Usually you need a make clean only if you change something in the config file
which does not change file times and hence make cannot see them. 
These are options that translate to a -DOPTION in the makefile. (See comment
in the makefile for QUOTA)
One shortcut is to find the files containing the option and touch them.
However if you run config to add a new device driver, you dont have to do a make clean,
since the appropriate header files (wd.h fd.h etc.) are recreated.

			Szabolcs Szigeti
			pink@fix.fsz.bme.hu