public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: "Albert D. Cahalan" <acahalan@cs.uml.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kbuild 2.5 is ready for inclusion in the 2.5 kernel - take 3
Date: Mon, 20 May 2002 15:18:37 +1000	[thread overview]
Message-ID: <3640.1021871917@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Mon, 20 May 2002 01:09:36 -0400." <200205200509.g4K59a9494917@saturn.cs.uml.edu>

On Mon, 20 May 2002 01:09:36 -0400 (EDT), 
"Albert D. Cahalan" <acahalan@cs.uml.edu> wrote:
>Well, not everybody trusts "make install" to do something useful.
>I'd do something like this:
>
>make clean
>bzip2 -dc ../foo.bz2 | patch -E -s -p1
>make menuconfig
>time script build-log
>make vmlinux && make modules && make modules_install && exit
>cp vmlinux /boot/vmlinux-2.5.16
>cp System.map /boot/System.map-2.5.16
>cp .config /boot/config-2.5.16
>sync
>su -
>joe /etc/yaboot.conf
>sync
>exit

Then you will be pleased to hear that kbuild 2.5 supports precisely
that model.  It has an install menu which lets you specify the name of
the install kernel, whether to install System.map and .config, and the
names to install them under.  It even has an config entry for a
post-install script.

After setting up these variables (only needs to be done once)

CONFIG_INSTALL_KERNEL_NAME=/boot/vmlinux-KERNELRELEASE
CONFIG_INSTALL_SYSTEM_MAP=y
CONFIG_INSTALL_SYSTEM_MAP_NAME=/boot/System.map-KERNELRELEASE
CONFIG_INSTALL_CONFIG=y
CONFIG_INSTALL_CONFIG_NAME=/boot/config-KERNELRELEASE
CONFIG_INSTALL_SCRIPT=y
CONFIG_INSTALL_SCRIPT_NAME=joe /etc/yaboot.conf

Your build process collapes to

  make -j defconfig installable && sudo make install

It does not get any simpler than that!


  reply	other threads:[~2002-05-20  5:19 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-18 10:25 kbuild 2.5 is ready for inclusion in the 2.5 kernel - take 3 Mike Galbraith
2002-05-18 17:32 ` Wayne.Brown
2002-05-18 18:11   ` Tomas Szepe
2002-05-18 21:15   ` DervishD
2002-05-20  4:31   ` Mike Fedyk
2002-05-20  5:09     ` Albert D. Cahalan
2002-05-20  5:18       ` Keith Owens [this message]
2002-05-20 14:29       ` Juan Quintela
2002-05-20  5:11     ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2002-05-19 10:26 Mike Galbraith
2002-05-18  6:05 Wayne.Brown
2002-05-18 16:50 ` John Weber
2002-05-18  5:09 Wayne.Brown
2002-05-18  5:23 ` David Lang
2002-05-18 13:11 ` Diego Calleja
2002-05-17 22:59 Wayne.Brown
2002-05-17 23:14 ` Robert Love
2002-05-18  4:01 ` Horst von Brand
2002-05-18 12:57 ` Diego Calleja
2002-05-17 20:53 Wayne.Brown
2002-05-17 21:14 ` Andrew Morton
2002-05-17 21:42   ` William Lee Irwin III
2002-05-17 22:16     ` Kai Germaschewski
2002-05-17 22:34       ` William Lee Irwin III
2002-05-17 22:40         ` Larry McVoy
2002-05-18  0:41       ` Oliver Xymoron
2002-05-17 22:09 ` Nicolas Pitre
2002-05-18  0:38 ` Oliver Xymoron
2002-05-17 19:51 Wayne.Brown
2002-05-17 20:09 ` Dave Jones
2002-05-17 20:25   ` Diego Calleja
2002-05-18 13:15 ` Paul P Komkoff Jr
2002-05-17 14:56 James Bottomley
2002-05-17 14:21 Wayne.Brown
2002-05-17 17:37 ` Adam Kropelin
2002-05-17 18:00   ` Robert Love
2002-05-16 22:42 Keith Owens
2002-05-17  0:10 ` Nicolas Pitre
2002-05-17  3:30   ` Tomas Szepe
2002-05-17  7:55     ` Russell King
2002-05-17  8:42     ` Miles Lane
2002-05-17 13:11       ` Dave Jones
2002-05-17 13:09     ` Denis Vlasenko
2002-05-17  8:17       ` Tomas Szepe
2002-05-17 13:39         ` Denis Vlasenko
2002-05-17  1:50 ` jeff millar
2002-05-17  2:04   ` Keith Owens
2002-05-17  2:26   ` Dave Jones
2002-05-17  7:11 ` Kenneth Johansson
2002-05-17 15:13   ` Nicolas Pitre
2002-05-17 15:19     ` Tomas Szepe
2002-05-17 15:42       ` Nicolas Pitre
2002-05-18  1:39         ` Keith Owens
2002-05-18  2:11           ` Nicolas Pitre
2002-05-18  2:19             ` Keith Owens
2002-05-17 18:19 ` Diego Calleja
2002-05-19 15:46 ` Pavel Machek

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=3640.1021871917@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=acahalan@cs.uml.edu \
    --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