From: William Lee Irwin III <wli@holomorphy.com>
To: linux-kernel@vger.kernel.org
Cc: ak@muc.de
Subject: x86_64 KBUILD_IMAGE
Date: Sat, 3 Jul 2004 18:27:32 -0700 [thread overview]
Message-ID: <20040704012732.GW21066@holomorphy.com> (raw)
x86_64 doesn't set KBUILD_IMAGE, and hence defaults to vmlinux. This
confuses make rpm in such a manner that it copies a raw ELF executable
to /boot/vmlinuz-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION instead of
the expected bzImage, which is surprisingly unbootable and not what's
normally expected to be placed in /boot/ with that filename.
Just setting the variable is enough to convince it to use bzImage properly.
-- wli
Index: mm5-2.6.7/arch/x86_64/Makefile
===================================================================
--- mm5-2.6.7.orig/arch/x86_64/Makefile 2004-07-02 20:43:26.000000000 -0700
+++ mm5-2.6.7/arch/x86_64/Makefile 2004-07-03 18:10:06.390377824 -0700
@@ -77,6 +77,7 @@
all: bzImage
BOOTIMAGE := arch/x86_64/boot/bzImage
+KBUILD_IMAGE := $(BOOTIMAGE)
bzImage: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE)
next reply other threads:[~2004-07-04 1:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-04 1:27 William Lee Irwin III [this message]
2004-07-04 3:24 ` Andi Kleen
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=20040704012732.GW21066@holomorphy.com \
--to=wli@holomorphy.com \
--cc=ak@muc.de \
--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
all inboxes | Powered by JetHome®