diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 00:02:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 00:02:42 -0400 |
commit | 1989425a3aed215f1accd5d8019b18b345166a63 (patch) | |
tree | edf01f8cddce137588a501d74eedb43e98911c62 /arch/powerpc/Makefile | |
parent | 0fc2f137226eff4c9dd90864dda5c237474c3ec5 (diff) | |
parent | e32e78c5ee8aadef020fbaecbe6fb741ed9029fd (diff) |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
powerpc: fix build with make 3.82
Revert "Input: appletouch - fix integer overflow issue"
memblock: Fix memblock_is_region_reserved() to return a boolean
powerpc: Trim defconfigs
powerpc: fix i8042 module build error
sound/soc: mpc5200_psc_ac97: Use gpio pins for cold reset
powerpc/5200: add mpc5200_psc_ac97_gpio_reset
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 5d42f5eae70f..e3ea151c9597 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -163,9 +163,11 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ | |||
163 | # Default to zImage, override when needed | 163 | # Default to zImage, override when needed |
164 | all: zImage | 164 | all: zImage |
165 | 165 | ||
166 | BOOT_TARGETS = zImage zImage.initrd uImage zImage% dtbImage% treeImage.% cuImage.% simpleImage.% | 166 | # With make 3.82 we cannot mix normal and wildcard targets |
167 | BOOT_TARGETS1 := zImage zImage.initrd uImaged | ||
168 | BOOT_TARGETS2 := zImage% dtbImage% treeImage.% cuImage.% simpleImage.% | ||
167 | 169 | ||
168 | PHONY += $(BOOT_TARGETS) | 170 | PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2) |
169 | 171 | ||
170 | boot := arch/$(ARCH)/boot | 172 | boot := arch/$(ARCH)/boot |
171 | 173 | ||
@@ -180,10 +182,16 @@ relocs_check: arch/powerpc/relocs_check.pl vmlinux | |||
180 | zImage: relocs_check | 182 | zImage: relocs_check |
181 | endif | 183 | endif |
182 | 184 | ||
183 | $(BOOT_TARGETS): vmlinux | 185 | $(BOOT_TARGETS1): vmlinux |
186 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | ||
187 | $(BOOT_TARGETS2): vmlinux | ||
188 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | ||
189 | |||
190 | |||
191 | bootwrapper_install: | ||
184 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | 192 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) |
185 | 193 | ||
186 | bootwrapper_install %.dtb: | 194 | %.dtb: |
187 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) | 195 | $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) |
188 | 196 | ||
189 | define archhelp | 197 | define archhelp |