T.R | Title | User | Personal Name | Date | Lines |
---|
56.1 | builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 11:05 | 14 |
| Date Of Receipt: 14-MAR-1994 10:04:37.12
From: WASTED::haeck "Debby Haeck"
To: buildhelp@wasted:zko.dec
CC: haeck@wasted:zko.dec
Subj: builds
I have read kernel-build-rules, but my question is not answered there.
Is there any way I can start with an empty obj directory and build
just BINARY, FLAMINGO and MYHOST?
Thanks
Debby
|
56.2 | Re: builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 11:06 | 19 |
| Date Of Receipt: 14-MAR-1994 10:09:43.21
From: WASTED::dupuis "Gary Dupuis New CPU Support 14-Mar-1994 1008"
To: Debby Haeck <haeck@wasted:zko.dec>
CC: buildhelp@wasted:zko.dec, dupuis@wasted:zko.dec
Subj: Re: builds
Debby,
I believe the correct sequence of commands is
build setup
build BINARY
build FLAMINGO
build MYHOST
Let me know if that does not work.
Gary
|
56.3 | Re: builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 11:08 | 18 |
| Date Of Receipt: 14-MAR-1994 10:35:47.44
From: FLUME::jmcg "Jim McGinness"
To: flume::haeck
CC: flume::buildhelp
Subj: Re: builds
I haven't tried this myself, yet, but try something like:
cd kernel
build setup
build BINARY
build KERNEL_CONFIG=FLAMINGO config vmunix
build KERNEL_CONFIG=MYHOST config vmunix
This skips some depend steps and the other kernels, so it should go faster
and take up less space than what would happen if you just said "build".
-- jmcg
|
56.4 | Re: builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 11:10 | 28 |
| Date Of Receipt: 14-MAR-1994 11:02:48.55
From: FLUME::jmcg "Jim McGinness"
To: flume::haeck
CC: flume::buildhelp
Subj: Re: builds
I've watched the "build setup" step and it looks like there's another
refinment you can add to try to speed things up:
cd kernel
build setup OTHERS=""
build BINARY
build KERNEL_CONFIG=FLAMINGO config vmunix
build KERNEL_CONFIG=MYHOST config vmunix
The FLAMINGO line can equally well be expressed as:
build FLAMINGO_config FLAMINGO_vmunix
but it loses the parallelism with the MYHOST line where the KERNEL_CONFIG
version is the only one that actually works. Adding the OTHERS="" to
the "build setup" is intended to supress the automatic configuration
of all the kernels that normally occurs. Building the FLAMINGO kernel
is not a prerequisite for building MYHOST, by the way, so you could
safely leave that out.
-- jmcg
|
56.5 | Re: builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 12:14 | 32 |
| Date Of Receipt: 14-MAR-1994 11:41:20.69
From: US2RMC::"[email protected]" "Darrell Dunnuck 381-0358 ZKO3-3/T79"
To: Debby Haeck <[email protected]>
CC: [email protected]
Subj: Re: builds
Hi Debby,
>I have read kernel-build-rules, but my question is not answered there.
>
>Is there any way I can start with an empty obj directory and build
>just BINARY, FLAMINGO and MYHOST?
>
>Thanks
>Debby
The only way I know to do this, other than write a script that runs all
the commands one at a time, is to change ./src/kernel/Makefile in your
sandbox to only contain those kernels. Please don't submit though. :-)
Darrell
% Received: from gulch.zk3.dec.com by us2rmc.bb.dec.com (5.65/rmc-22feb94) id AA02200; Mon, 14 Mar 94 11:37:39 -050
from localhost by gulch.zk3.dec.com; (5.65/1.1.8.2/02Mar94-0809PM) id AA11673; Mon, 14 Mar 1994 11:40:35 -050
% Message-Id: <[email protected]>
% To: Debby Haeck <[email protected]>
% Cc: [email protected]
% Subject: Re: builds
% In-Reply-To: Your message of "Mon, 14 Mar 94 10:03:50 EST." <[email protected]>
% Date: Mon, 14 Mar 94 11:40:35 -0500
% From: Darrell Dunnuck 381-0358 ZKO3-3/T79 <[email protected]>
% X-Mts: smtp
|
56.6 | Re: builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 13:21 | 16 |
| Date Of Receipt: 14-MAR-1994 12:31:55.16
From: FLUME::jmcg "Jim McGinness"
To: flume::haeck
CC: flume::buildhelp
Subj: Re: builds
Nope, the OTHER="" has no effect. It doesn't look like it's possible to
supress the configuration of all the CONFIGFILES entries without changing a
Makefile. This seems like a flaw, since these configurations account for
something like 50-70% of the overall runtime of the setup step.
On the other hand, I think it's required to re-run the config
step after BINARY has built, so you can't drop it from the FLAMINGO step.
-- jmcg
|
56.7 | Re: builds | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 14 1994 14:36 | 29 |
| Date Of Receipt: 14-MAR-1994 14:14:05.19
From: FLUME::jmcg "Jim McGinness"
To: flume::haeck
CC: flume::buildhelp
Subj: Re: builds
This has been an interesting puzzle (you can tell I think so, right?).
Each trial takes an hour or so to complete, but only a few minutes are
needed to look at what happened and decide what to try next.
This addition chops about 50% off the time of build setup in your
situation (as opposed to plain "build setup":
build conf_SUBMAKEFLAGS=CONFIGFILES= setup
Just to make things simpler in the NOTESFILE: the goal was to build
just what was needed for FLAMINGO and MYHOST kernel starting from an
empty obj directory.
The recommendation from me is:
cd kernel
build conf_SUBMAKEFLAGS=CONFIGFILES= setup
build BINARY
build KERNEL_CONFIG=FLAMINGO config vmunix
build KERNEL_CONFIG=MYHOST config vmunix
|