[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
502.0. "How do I add an object to a kenel build post agosminor.bl6?" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Wed Jan 12 1994 13:38
Date Of Receipt: 5-JAN-1994 17:29:21.78
From: US2RMC::"[email protected]"
To: [email protected]
CC: [email protected], [email protected]
Subj: How do I add an object to a kenel build post agosminor.bl6?
Howdy,
I have been wrestling with this for a couple of days now and Rich Larsen
suggested I ask in this forum. I am trying to write a procedure to add
instrumentation collection routines to the kernel. This procedure is aimed at
allowing people to instrument selected files to find how complete the testing is
and where they should look for problems befor the field finds them.
There is a catch. These are routines supplied in object only form.
Unfortunately, I can not seem to get config to understand this so I have been
basing my procedure on shells that recreate the manual intervention I had found
that worked. I changed the files file to add the entries:
kim/kim.c optional kim device-driver Binary
kim/kimkov.c optional kim device-driver Binary
kim/tst.c optional kim device-driver Binary
kim/tst2.c optional kim device-driver Binary
kim/kim_data.c optional kim device-driver Notbinary
I then appended "pseudo-device kim" to conf/BINARY and conf/GENERIC and put
the objects and the data file in ...obj/alpha/kim. This put the entried in the
makefiles when I ran a full build (after deleting the original Makefiles) but I
needed to change the compiler, so I did abit more editing before rebuilding.
The full build, though is a bit much. In agosminor.bl6 I could add the changes
from the files file to the makefiles with:
build BINARY_config BINARY_depend
build GENERIC_config GENERIC_depend
Then I correct the problems found in the BINARY/Makefile. This was how I was
told to do it in SILVER and in Mint, but it no longer works for agosminor.bl8.
Now I get the following:
$ build GENERIC_config
relative path: ./kernel.
cd ../../obj/alpha/kernel
cd conf && make -cF CONFIG_FLAGS= GENERIC_config
[ configuring GENERIC ]
Specify machine type, e.g. ``machine vax, mips or alpha''
*** Exit 1 (ignored)
The machine variable is set in my environment
$ set | grep machine
host_machine=alpha
machine=alpha
target_machine=alpha
So, I guess I have 2 questions. Is it impossible to add a file to the
configuration without a full build? Is there a way around the manual
intervention (can I get BINARY/Makefile to copy instead of compile and change
the KCC passed to it to be my coverage compiler)?
For the first, Rich suggested "build setup BINARY GENERIC" but the line "exec
make -cF OTHERS="" build_all" made me wonder if I was there for the duration (2
hours, so far)
Also, while I am at it, what is the process for adding modifications to utility
makefiles that make adding coverage instrumentation easier of fixing an error
found when attempting to add coverage instrumentation? Do I QAR the makefiles?
Thanks for any help.
Paul
____________________________________________________________________________
Paul Kay [email protected]
Digital Equipment Corporation sysv::kay
Manalapan, NJ (UNX) (908) 577-6076 (DTN 462)
------- End of Forwarded Message
% Received: by us2rmc.bb.dec.com; id AA06313; Wed, 5 Jan 94 17:26:47 -0500
from bart.unx.dec.com by flambe.zk3.dec.com; (5.65/1.1.8.2/01Nov93-1038AM) id AA29680; Wed, 5 Jan 1994 17:29:16 -050
by bart.unx.dec.com; id AA11315; Wed, 5 Jan 1994 17:36:09 -0500
% Message-Id: <[email protected]>
% To: [email protected]
% Cc: [email protected], [email protected]
% Subject: How do I add an object to a kenel build post agosminor.bl6?
% Date: Wed, 05 Jan 94 17:36:09 -0500
% From: [email protected]
% X-Mts: smtp
T.R | Title | User | Personal Name | Date | Lines |
---|
502.1 | Re:How do I add an object to a kenel build post agosminor.bl6? | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Wed Jan 12 1994 13:59 | 33 |
| Date Of Receipt: 6-JAN-1994 14:52:53.87
From: US2RMC::"[email protected]"
To: [email protected]
CC: [email protected], [email protected]
Subj: Re:How do I add an object to a kenel build post agosminor.bl6?
Can you say Pilot Error?
Please do not worry about this problem. I somehow had a bad 2 line GENERIC file
in my conf directory. I removed it and I am now back to what I expected.
I am still interested in the process for adding modifications to utility
makefiles that make adding coverage instrumentation easier or fixing an error
found when attempting to add coverage instrumentation. Do I QAR the makefiles?
Sorry for any trouble I caused.
Paul
____________________________________________________________________________
Paul Kay [email protected]
Digital Equipment Corporation sysv::kay
Manalapan, NJ (UNX) (908) 577-6076 (DTN 462)
% Received: by us2rmc.bb.dec.com; id AA01312; Thu, 6 Jan 94 14:50:16 -0500
from bart.unx.dec.com by flambe.zk3.dec.com; (5.65/1.1.8.2/01Nov93-1038AM) id AA14319; Thu, 6 Jan 1994 14:51:30 -050
by bart.unx.dec.com; id AA18005; Thu, 6 Jan 1994 14:58:21 -0500
% Message-Id: <[email protected]>
% To: [email protected]
% Cc: [email protected], [email protected]
% Subject: Re:How do I add an object to a kenel build post agosminor.bl6?
% Date: Thu, 06 Jan 94 14:58:21 -0500
% From: [email protected]
% X-Mts: smtp
|