diff options
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index f70df9b64f8f..6845482f0093 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -151,14 +151,11 @@ core-$(CONFIG_XMON) += arch/powerpc/xmon/ | |||
151 | drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ | 151 | drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ |
152 | 152 | ||
153 | # Default to zImage, override when needed | 153 | # Default to zImage, override when needed |
154 | defaultimage-y := zImage | 154 | all: zImage |
155 | defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage | ||
156 | KBUILD_IMAGE := $(defaultimage-y) | ||
157 | all: $(KBUILD_IMAGE) | ||
158 | 155 | ||
159 | CPPFLAGS_vmlinux.lds := -Upowerpc | 156 | CPPFLAGS_vmlinux.lds := -Upowerpc |
160 | 157 | ||
161 | BOOT_TARGETS = zImage zImage.initrd uImage | 158 | BOOT_TARGETS = zImage zImage.initrd uImage treeImage.% cuImage.% |
162 | 159 | ||
163 | PHONY += $(BOOT_TARGETS) | 160 | PHONY += $(BOOT_TARGETS) |
164 | 161 | ||
@@ -180,7 +177,7 @@ define archhelp | |||
180 | endef | 177 | endef |
181 | 178 | ||
182 | install: vdso_install | 179 | install: vdso_install |
183 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | 180 | $(Q)$(MAKE) $(build)=$(boot) install |
184 | 181 | ||
185 | vdso_install: | 182 | vdso_install: |
186 | ifeq ($(CONFIG_PPC64),y) | 183 | ifeq ($(CONFIG_PPC64),y) |