aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index a00fe7236555..794992025d8d 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -102,9 +102,9 @@ CFLAGS += $(call cc-option,-mno-altivec)
102# kernel considerably. 102# kernel considerably.
103CFLAGS += $(call cc-option,-funit-at-a-time) 103CFLAGS += $(call cc-option,-funit-at-a-time)
104 104
105ifndef CONFIG_FSL_BOOKE 105# Never use string load/store instructions as they are
106CFLAGS += -mstring 106# often slow when they are implemented at all
107endif 107CFLAGS += -mno-string
108 108
109ifeq ($(CONFIG_6xx),y) 109ifeq ($(CONFIG_6xx),y)
110CFLAGS += -mcpu=powerpc 110CFLAGS += -mcpu=powerpc
@@ -148,7 +148,7 @@ all: $(KBUILD_IMAGE)
148 148
149CPPFLAGS_vmlinux.lds := -Upowerpc 149CPPFLAGS_vmlinux.lds := -Upowerpc
150 150
151BOOT_TARGETS = zImage zImage.initrd uImage 151BOOT_TARGETS = zImage zImage.initrd uImage cuImage
152 152
153PHONY += $(BOOT_TARGETS) 153PHONY += $(BOOT_TARGETS)
154 154
@@ -166,6 +166,9 @@ define archhelp
166 @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs' 166 @echo ' *_defconfig - Select default config from arch/$(ARCH)/configs'
167endef 167endef
168 168
169install:
170 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
171
169archclean: 172archclean:
170 $(Q)$(MAKE) $(clean)=$(boot) 173 $(Q)$(MAKE) $(clean)=$(boot)
171 174