aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 92751ca6f8b1..eb1224c24e3e 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -121,16 +121,17 @@ head-$(CONFIG_FSL_BOOKE) := arch/powerpc/kernel/head_fsl_booke.o
121 121
122ifeq ($(CONFIG_PPC32),y) 122ifeq ($(CONFIG_PPC32),y)
123head-$(CONFIG_6xx) += arch/powerpc/kernel/idle_6xx.o 123head-$(CONFIG_6xx) += arch/powerpc/kernel/idle_6xx.o
124head-$(CONFIG_POWER4) += arch/powerpc/kernel/idle_power4.o
125head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o 124head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o
126endif 125endif
127 126
128core-y += arch/powerpc/kernel/ \ 127core-y += arch/powerpc/kernel/
129 arch/$(OLDARCH)/kernel/ \ 128core-y += arch/$(OLDARCH)/kernel/
130 arch/powerpc/mm/ \ 129core-$(CONFIG_PPC32) += arch/powerpc/mm/
131 arch/powerpc/lib/ \ 130core-$(CONFIG_PPC64) += arch/$(OLDARCH)/mm/
132 arch/powerpc/sysdev/ \ 131core-$(CONFIG_PPC32) += arch/powerpc/lib/
133 arch/powerpc/platforms/ 132libs-$(CONFIG_PPC64) += arch/$(OLDARCH)/lib/
133core-y += arch/powerpc/sysdev/
134core-y += arch/powerpc/platforms/
134core-$(CONFIG_PPC32) += arch/ppc/syslib/ 135core-$(CONFIG_PPC32) += arch/ppc/syslib/
135core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ 136core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/
136core-$(CONFIG_XMON) += arch/powerpc/xmon/ 137core-$(CONFIG_XMON) += arch/powerpc/xmon/
@@ -141,17 +142,20 @@ drivers-$(CONFIG_CPM2) += arch/ppc/8260_io/
141 142
142drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ 143drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/
143 144
144BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm 145defaultimage-$(CONFIG_PPC32) := uImage zImage
145 146defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux
146.PHONY: $(BOOT_TARGETS) 147KBUILD_IMAGE := $(defaultimage-y)
147 148all: $(KBUILD_IMAGE)
148all: uImage zImage
149 149
150CPPFLAGS_vmlinux.lds := -Upowerpc 150CPPFLAGS_vmlinux.lds := -Upowerpc
151 151
152# All the instructions talk about "make bzImage". 152# All the instructions talk about "make bzImage".
153bzImage: zImage 153bzImage: zImage
154 154
155BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm
156
157.PHONY: $(BOOT_TARGETS)
158
155boot := arch/$(OLDARCH)/boot 159boot := arch/$(OLDARCH)/boot
156 160
157$(BOOT_TARGETS): vmlinux 161$(BOOT_TARGETS): vmlinux