[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

188.0. "simple way to build 1 kernel?" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Jun 29 1993 16:09

Date Of Receipt: 	29-JUN-1993 14:20:18.12
From: 	ABYSS::harter "Gerri Harter AUEG"
To: 	abyss::buildhelp
CC: 	abyss::harter
Subj: 	simple way to build 1 kernel?

Hi,

I've wondered about this for a while now, and finally decided to ask 8-)

Suppose I want to build a kernel from scratch.  In the past, I've 
deleted the entire obj/alpha/kernel tree from my sandbox & typed 'build -k'. 
Many hours later, the obj/alpha/kernel directory will contain a bunch of 
kernels (SAS, FLAMINGO, COBRA, GENERIC, plus their ext/rt versions).  

But, what if I want to do a scratch build of only *1* kernel (COBRA, for 
example)?  Once the files in obj/alpha/kernel are deleted, I haven't found 
a set of 'build BINARY_xxx' & 'build COBRA_xxx' commands that I can use to 
build a COBRA vmunix.  Different people I've talked to have their own ways 
of forcing this (it usually involves hand-copying files to the obj area & 
building things like mktcdata).  But, it seems like there should 
be an 'official' (and in theory less error prone) way to do this.

Does anyone know how?

Thanks,
Gerri

T.RTitleUserPersonal
Name
DateLines
188.1Re: simple way to build 1 kernel?SMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Jun 29 1993 17:1515
Date Of Receipt: 	29-JUN-1993 15:11:24.07
From: 	ABYSS::"[email protected]" "Shashi Mangalat AOSG"
To: 	[email protected] (Gerri Harter AUEG)
CC: 	[email protected]
Subj: 	Re: simple way to build 1 kernel?

Although I use a modified Makefile to do it, the following should work.  I am
trying it now, and it seems to be going okay.

	% build setup BINARY COBRA

which will update the obj area and builds BINARY and COBRA configurations.

--shashi