This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / ppc64 / Makefile
index 59fdc0e..1b9b936 100644 (file)
@@ -33,6 +33,8 @@ CHECKFLAGS    += -m64 -D__powerpc__
 LDFLAGS                := -m elf64ppc
 LDFLAGS_vmlinux        := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)
 CFLAGS         += -msoft-float -pipe -mminimal-toc -mtraceback=none
+                  
+CFLAGS += $(call cc-option,-mcall-aixdesc)                
 
 ifeq ($(CONFIG_POWER4_ONLY),y)
        CFLAGS += $(call cc-option,-mcpu=power4)
@@ -42,7 +44,7 @@ endif
 
 # Enable unit-at-a-time mode when possible. It shrinks the
 # kernel considerably.
-CFLAGS += $(call cc-option,-funit-at-a-time)
+CFLAGS += $(call cc-option,-fno-unit-at-a-time)
 
 head-y := arch/ppc64/kernel/head.o
 
@@ -53,8 +55,10 @@ core-$(CONFIG_XMON)          += arch/ppc64/xmon/
 drivers-$(CONFIG_OPROFILE)     += arch/ppc64/oprofile/
 
 boot := arch/ppc64/boot
+bzImage: vmlinux
+       cp vmlinux arch/ppc64/boot/bzImage
 
-boottarget-$(CONFIG_PPC_PSERIES) := zImage zImage.initrd
+boottarget-$(CONFIG_PPC_PSERIES) := zImage zImage.initrd zImage.stub
 boottarget-$(CONFIG_PPC_ISERIES) := vmlinux.sminitrd vmlinux.initrd vmlinux.sm
 $(boottarget-y): vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@