diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-30 02:16:52 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-01 04:52:10 -0400 |
commit | cabb558714945e92000f627dda562aa5e86a31af (patch) | |
tree | 595cd75dad072224041260afb220d7fce3164e53 /arch/powerpc/Makefile | |
parent | bd142b70a6bd5522f7d95f0cec06091b93bb0715 (diff) |
powerpc: make iSeries build
Merge vmlinux.lds.S.
Also remove arch/powerpc/kernel/vmlinux.lds which is a
generated file.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 9f80deb05ecc..eb1224c24e3e 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -124,12 +124,14 @@ head-$(CONFIG_6xx) += arch/powerpc/kernel/idle_6xx.o | |||
124 | head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o | 124 | head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o |
125 | endif | 125 | endif |
126 | 126 | ||
127 | core-y += arch/powerpc/kernel/ \ | 127 | core-y += arch/powerpc/kernel/ |
128 | arch/$(OLDARCH)/kernel/ \ | 128 | core-y += arch/$(OLDARCH)/kernel/ |
129 | arch/powerpc/mm/ \ | 129 | core-$(CONFIG_PPC32) += arch/powerpc/mm/ |
130 | arch/powerpc/lib/ \ | 130 | core-$(CONFIG_PPC64) += arch/$(OLDARCH)/mm/ |
131 | arch/powerpc/sysdev/ \ | 131 | core-$(CONFIG_PPC32) += arch/powerpc/lib/ |
132 | arch/powerpc/platforms/ | 132 | libs-$(CONFIG_PPC64) += arch/$(OLDARCH)/lib/ |
133 | core-y += arch/powerpc/sysdev/ | ||
134 | core-y += arch/powerpc/platforms/ | ||
133 | core-$(CONFIG_PPC32) += arch/ppc/syslib/ | 135 | core-$(CONFIG_PPC32) += arch/ppc/syslib/ |
134 | core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ | 136 | core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ |
135 | core-$(CONFIG_XMON) += arch/powerpc/xmon/ | 137 | core-$(CONFIG_XMON) += arch/powerpc/xmon/ |
@@ -140,17 +142,20 @@ drivers-$(CONFIG_CPM2) += arch/ppc/8260_io/ | |||
140 | 142 | ||
141 | drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ | 143 | drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ |
142 | 144 | ||
143 | BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm | 145 | defaultimage-$(CONFIG_PPC32) := uImage zImage |
144 | 146 | defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux | |
145 | .PHONY: $(BOOT_TARGETS) | 147 | KBUILD_IMAGE := $(defaultimage-y) |
146 | 148 | all: $(KBUILD_IMAGE) | |
147 | all: uImage zImage | ||
148 | 149 | ||
149 | CPPFLAGS_vmlinux.lds := -Upowerpc | 150 | CPPFLAGS_vmlinux.lds := -Upowerpc |
150 | 151 | ||
151 | # All the instructions talk about "make bzImage". | 152 | # All the instructions talk about "make bzImage". |
152 | bzImage: zImage | 153 | bzImage: zImage |
153 | 154 | ||
155 | BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm | ||
156 | |||
157 | .PHONY: $(BOOT_TARGETS) | ||
158 | |||
154 | boot := arch/$(OLDARCH)/boot | 159 | boot := arch/$(OLDARCH)/boot |
155 | 160 | ||
156 | $(BOOT_TARGETS): vmlinux | 161 | $(BOOT_TARGETS): vmlinux |