[lkml]   [2007]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] x86 boot: Build a bzImage again

    With the Makefile changes dealing with EXTRA_AFLAGS and
    EXTRA_CFLAGS when we attempt to build a bzImage
    we get a zImage instead. Ouch!

    Fixup the makefile to use the new ccflags-y and asflags-y
    so that we can build a bzImage again. Making it possible
    to actually test the recent kernel changes.

    Signed-off-by: Eric W. Biederman <>
    arch/x86/boot/Makefile | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
    index d6ed8e5..0e4912f 100644
    --- a/arch/x86/boot/Makefile
    +++ b/arch/x86/boot/Makefile
    @@ -64,10 +64,10 @@ KBUILD_CFLAGS := $(LINUXINCLUDE) -g -Os -D_SETUP -D__KERNEL__ \

    $(obj)/zImage: IMAGE_OFFSET := 0x1000
    -$(obj)/zImage: EXTRA_AFLAGS := $(SVGA_MODE) $(RAMDISK)
    +$(obj)/zImage: asflags-y += $(SVGA_MODE) $(RAMDISK)
    $(obj)/bzImage: IMAGE_OFFSET := 0x100000
    -$(obj)/bzImage: EXTRA_CFLAGS := -D__BIG_KERNEL__
    -$(obj)/bzImage: EXTRA_AFLAGS := $(SVGA_MODE) $(RAMDISK) -D__BIG_KERNEL__
    +$(obj)/bzImage: ccflags-y += -D__BIG_KERNEL__
    +$(obj)/bzImage: asflags-y += $(SVGA_MODE) $(RAMDISK) -D__BIG_KERNEL__
    $(obj)/bzImage: BUILDFLAGS := -b

    quiet_cmd_image = BUILD $@
    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: 2007-10-17 01:27    [W:0.019 / U:11.916 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site