public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Weinehall <tao@acc.umu.se>
To: Keith Owens <kaos@ocs.com.au>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	kbuild-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5
Date: Wed, 5 Dec 2001 00:05:53 +0100	[thread overview]
Message-ID: <20011205000553.L360@khan.acc.umu.se> (raw)
In-Reply-To: <E16BKBw-0002xO-00@the-village.bc.nu> <30228.1007506832@ocs3.intra.ocs.com.au>
In-Reply-To: <30228.1007506832@ocs3.intra.ocs.com.au>; from kaos@ocs.com.au on Wed, Dec 05, 2001 at 10:00:32AM +1100

On Wed, Dec 05, 2001 at 10:00:32AM +1100, Keith Owens wrote:
> On Tue, 4 Dec 2001 18:21:15 +0000 (GMT), 
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> >> make bzlilo modules modules_install: it would be a simble
> >> make install: (and you configure with CML1/CML2 what install
> >> means).
> >
> >How does it handle that when install means different things on each box of
> >a set of them NFS sharing the kernel tree. This is a real world example
> 
> I made kbuild 2.5 install very flexible to cater for cases like this.
> The answer depends on whether you want every compile to be the same
> with different install steps on the target machines or each compile is
> different.
> 
> In the different compile case you have a single source tree (mounted
> read only if you like) and separate object trees for each compile run.
> The .config lives in the object directory so is machine local.  The
> object trees can be NFS mounted or can use local disk on each build
> machine, as a bonus this avoids NFS writes and runs much faster.
> 
> If you want a common compile on one machine followed by different
> installs on each machine then you have three choices.
> 
> (1) make install with an install prefix path (say /var/tmp) will
>     install the kernel, modules, System.map and .config in a holding
>     directory on the build machine, the other machines can then copy
>     the install data to wherever they need it.  Whether the copy is
>     done from the build machine to the target directories or on the
>     target machine is an NFS implementation detail.
> 
> (2) make installable (the default target) on the build machine then run
>     make install with overrides on the target machines.  All the
>     install config variables are exposed for override on the install
>     step.
> 
> (3) make installable on the build machine with .config specifying an
>     install script name.  Then make install on each target system, the
>     version of the install script is local to the target machine.
> 
> If none of those suit your environment, let me know what you are trying
> to achieve and I will see about adding support to kbuild 2.5.

Would it be easy to add hooks for make-rpm and make-kpkg and alike,
as methods for make installable?


/David
  _                                                                 _
 // David Weinehall <tao@acc.umu.se> /> Northern lights wander      \\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </

  reply	other threads:[~2001-12-04 23:07 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-04 17:11 [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5 Wayne.Brown
2001-12-04 17:44 ` Eric S. Raymond
2001-12-04 17:46 ` Giacomo Catenazzi
2001-12-04 18:21   ` Alan Cox
2001-12-04 18:24     ` Tom Rini
2001-12-04 23:00     ` Keith Owens
2001-12-04 23:05       ` David Weinehall [this message]
2001-12-04 23:21         ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-12-04 19:06 RaúlNúñez de Arenas Coronado
2001-12-04 18:50 RaúlNúñez de Arenas Coronado
2001-12-04 18:50 ` Tom Rini
2001-12-05  1:29 ` Matthias Andree
2001-12-04 18:38 Wayne.Brown
2001-12-04 18:30 RaúlNúñez de Arenas Coronado
2001-12-04 18:41 ` Eric S. Raymond
2001-12-04 19:50 ` Edward Muller
2001-12-04 20:07   ` Robert Love
2001-12-04 21:23     ` Edward Muller
2001-12-05  1:26 ` Matthias Andree
2001-12-05 16:14 ` Rob Landley
2001-12-06  0:37   ` Eric S. Raymond
2001-12-04 17:18 Michael Elizabeth Chastain
2001-12-04 17:30 ` Christoph Hellwig
2001-12-05  3:21   ` Mike Fedyk
2001-12-04 17:08 RaúlNúñez de Arenas Coronado
2001-12-04 18:17 ` Jakob Kemi
2001-12-04 18:22 ` Tom Rini
2001-12-04 18:36   ` Eric S. Raymond
2001-12-05  2:30   ` Greg Banks
2001-12-05 10:02     ` Eric S. Raymond
2001-12-04 18:46 ` David Weinehall
2001-12-04 18:43   ` Eric S. Raymond
2001-12-04 19:27     ` David Weinehall
2001-12-05  1:17 ` Matthias Andree
2001-12-07  5:22 ` Stevie O
2001-12-03  1:06 Keith Owens
2001-12-03  1:19 ` [kbuild-devel] " Eric S. Raymond
2001-12-03  2:03   ` Keith Owens
2001-12-04  0:22     ` Dave Jones
2001-12-04  0:52       ` Keith Owens
2001-12-04 11:04 ` David Woodhouse
2001-12-04 11:52   ` Eric S. Raymond
2001-12-04 12:22     ` Alan Cox
2001-12-04 12:21       ` Eric S. Raymond
2001-12-05 11:15         ` Horst von Brand
2001-12-04 12:19   ` Alan Cox
2001-12-04 12:11 ` Christoph Hellwig
2001-12-04 12:28   ` Eric S. Raymond
2001-12-04 12:39     ` Christoph Hellwig
2001-12-04 12:48       ` Eric S. Raymond
2001-12-04 13:00         ` Christoph Hellwig
2001-12-04 13:16           ` Eric S. Raymond
2001-12-04 13:29             ` Christoph Hellwig
2001-12-04 15:40               ` Tom Rini
2001-12-04 16:11               ` Eric S. Raymond
2001-12-04 16:33               ` Matthias Andree
2001-12-04 17:03                 ` Eric S. Raymond
2001-12-04 17:38                   ` Giacomo Catenazzi
2001-12-04 17:36                     ` Eric S. Raymond
2001-12-04 19:03                       ` Rik van Riel
2001-12-04 19:04                         ` Eric S. Raymond
2001-12-04 17:43                   ` Dave Jones
2001-12-04 19:48                     ` David Weinehall
2001-12-04 19:53                       ` Dave Jones
2001-12-04 20:03                         ` David Weinehall
2001-12-04 19:57                     ` Mike Castle
2001-12-04 19:59                     ` Edward Muller
2001-12-04 20:11                       ` Dave Jones
2001-12-04 20:20                       ` Alan Cox
2001-12-04 21:03                         ` Edward Muller
2001-12-04 22:10                         ` Trevor Smith
2001-12-04 22:26                           ` Alan Cox
2001-12-04 20:20                     ` Richard B. Johnson
2001-12-05  3:14                       ` John Cowan
2001-12-05  4:36                         ` Mike Fedyk
2001-12-05 14:54                       ` Rob Landley
2001-12-05 14:51                     ` Rob Landley
2001-12-06  0:37                       ` Dave Jones
2001-12-06 16:49                       ` Rik van Riel
2001-12-06  9:57                         ` Rob Landley
2001-12-06 16:59                         ` John Stoffel
2001-12-06 17:25                           ` Alan Cox
2001-12-06 10:03                             ` Rob Landley
2001-12-07  0:06                               ` Keith Owens
2001-12-07  0:57                               ` Eric S. Raymond
2001-12-07  1:44                                 ` Tom Rini
2001-12-06 18:30                             ` John Stoffel
2001-12-06 18:51                               ` Horst von Brand
2001-12-06 18:59                                 ` David Weinehall
2001-12-06 19:14                                 ` Matthias Andree
2001-12-06 22:17                                 ` John Cowan
2001-12-07 14:44                                   ` Horst von Brand
2001-12-07 15:56                                     ` John Alvord
2001-12-10  9:55                                     ` Matthias Andree
2001-12-07 18:12                                   ` Kai Henningsen
2001-12-07  0:58                                 ` Eric S. Raymond
2001-12-06 18:07                           ` Martin Dalecki
2001-12-06 18:22                             ` David Weinehall
2001-12-06 19:10                         ` Matthias Andree
2001-12-04 17:44                   ` Alan Cox
2001-12-04 17:15                 ` Alan Cox
2001-12-04 17:19                   ` Eric S. Raymond
2001-12-04 17:30                     ` Martin Dalecki
2001-12-04 17:43                       ` Christoph Hellwig
2001-12-04 17:42                     ` Alan Cox
2001-12-04 17:38                       ` Eric S. Raymond
2001-12-04 18:01                         ` Alan Cox
2001-12-04 18:47                           ` Robert Love
2001-12-04 19:28                         ` Bernhard Rosenkraenzer
2001-12-04 17:20                   ` Matthias Andree
2001-12-04 17:27                   ` Martin Dalecki
2001-12-04 18:13                     ` Tom Rini
2001-12-04 18:26                       ` Alan Cox
2001-12-04 18:27                         ` Tom Rini
2001-12-04 19:19                           ` Stefan Smietanowski
2001-12-04 19:24                             ` Tom Rini
2001-12-05 11:06                       ` Martin Dalecki
2001-12-04 16:41               ` David Woodhouse
2001-12-04 16:52                 ` Giacomo Catenazzi
2001-12-04 17:06                   ` Eric S. Raymond
2001-12-04 17:15                   ` David Woodhouse
2001-12-04 17:50                   ` Daniel Phillips
2001-12-05  1:17                     ` Daniel Phillips
2001-12-04 17:02                 ` David Woodhouse
2001-12-04 17:07                   ` Eric S. Raymond
2001-12-04 17:08                 ` Eric S. Raymond
2001-12-04 17:19                 ` David Woodhouse
2001-12-04 17:34                   ` Eric S. Raymond
2001-12-04 16:31   ` John Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011205000553.L360@khan.acc.umu.se \
    --to=tao@acc.umu.se \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=kaos@ocs.com.au \
    --cc=kbuild-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox