lkml.org 
[lkml]   [1996]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: source dependencies cleanup? (fwd)

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 4 Dec 1996, Jim Nance wrote:

> have to recompile almost the entire kernel. The way I was thinking of
> improving this was to have an optional variable which would be set on the
> command line of make, which would cause all files created by the build
> process to go into a seperate tree in the file system. Thus you could
> then do:
>
> make TOP_TREE=/usr/tmp/builtin zImage
> make TOP_TREE=/usr/tmp/modular zImage
>
> and all the files created by the build process, including the .config,
> automatically generated includes, depedencies, and symlinks, would be under
> TOP_TREE. In the above cases we would have kernels in:
> /usr/tmp/builtin/arch/i386/boot/zImage
> /usr/tmp/modular/arch/i386/boot/zImage
>
> A side benifit of this scheme is that the kernel source can be on read
> only media since we never write anything to it. It is fairly easy to
> implement a scheme like this, but its tedious because you have to keep
> recompiling the kernel. Hopefully I have made it clear what I was trying
> to do. Sometimes I have difficulty explaining things. Anyone have any
> comments?

Good idea. It might also be a good idea to look for this as an
environmental variable, so that we wouldn't have to do

make TOP_TREE=/usr/tmp/builtin config
make TOP_TREE=/usr/tmp/builtin zlilo
make TOP_TREE=/usr/tmp/builtin modules
make TOP_TREE=/usr/tmp/builtin modules_install

etc...
of course, make the command line override the environment, but you can see
how this might be an obvious improvement (and yes, i do know that you can
put them all in 1 command ;)

>
> Jim
>

--Deviant
PGP KeyID = E820F015 Fingerprint = 3D6AAB628E3DFAA9 F7D35736ABC56D39

Without followers, evil cannot spread.
-- Spock, "And The Children Shall Lead", stardate 5029.5


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQEVAwUBMqZX9zCdEh3oIPAVAQFrFgf/QyvYja9pTLWZmjo17BhNTK5KqGYYJ+di
sx5uYvR438Z0n+N1g5XS5iAseR0YFTUpKPmetBnTOXd4PVpeSVdS7SUthlB2BMWZ
SildzLmcKF3WbenRzvCD2TM6Ia04vCgx7708SM2amTCmhcsgt5yYl2sTIT99mxnB
nVa/MduHUL6FuOU8u77K5OhUwQ+RAOPnN3O+UOce85tsiqA0Ekz1o4DQ4CLwnZSa
nnYQiTA4WS5U5Uj9SFWyxXqbafBWNK8VpnW6MttjvAu+7ln0CMMgl6gJgEMhtWbF
OIkRWIjoyprBsx3ZVoOFu9MQLeaFfcqw0YxW94whAypPOFji8Yddvg==
=LBXk
-----END PGP SIGNATURE-----


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.104 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site