[lkml]   [2004]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subjectx86_64 KBUILD_IMAGE
    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

    bzImage: vmlinux
    $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 14:04    [W:0.020 / U:33.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site