i386: prepare shared boot/compressed/misc.c
authorThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:13:38 +0000 (11:13 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:13:38 +0000 (11:13 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/i386/boot/compressed/Makefile
arch/i386/boot/compressed/misc_32.c [moved from arch/i386/boot/compressed/misc.c with 100% similarity]

index 189fa1d..c4533ea 100644 (file)
@@ -4,7 +4,7 @@
 # create a compressed vmlinux image from the original vmlinux
 #
 
-targets                := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o piggy.o \
+targets                := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc_32.o piggy.o \
                        vmlinux.bin.all vmlinux.relocs
 EXTRA_AFLAGS   := -traditional
 
@@ -17,7 +17,7 @@ CFLAGS  := -m32 -D__KERNEL__ $(LINUX_INCLUDE) -O2 \
           $(call cc-option,-fno-stack-protector)
 LDFLAGS := -m elf_i386
 
-$(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc.o $(obj)/piggy.o FORCE
+$(obj)/vmlinux: $(src)/vmlinux.lds $(obj)/head.o $(obj)/misc_32.o $(obj)/piggy.o FORCE
        $(call if_changed,ld)
        @: