diff options
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 11 |
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. |
103 | CFLAGS += $(call cc-option,-funit-at-a-time) | 103 | CFLAGS += $(call cc-option,-funit-at-a-time) |
104 | 104 | ||
105 | ifndef CONFIG_FSL_BOOKE | 105 | # Never use string load/store instructions as they are |
106 | CFLAGS += -mstring | 106 | # often slow when they are implemented at all |
107 | endif | 107 | CFLAGS += -mno-string |
108 | 108 | ||
109 | ifeq ($(CONFIG_6xx),y) | 109 | ifeq ($(CONFIG_6xx),y) |
110 | CFLAGS += -mcpu=powerpc | 110 | CFLAGS += -mcpu=powerpc |
@@ -148,7 +148,7 @@ all: $(KBUILD_IMAGE) | |||
148 | 148 | ||
149 | CPPFLAGS_vmlinux.lds := -Upowerpc | 149 | CPPFLAGS_vmlinux.lds := -Upowerpc |
150 | 150 | ||
151 | BOOT_TARGETS = zImage zImage.initrd uImage | 151 | BOOT_TARGETS = zImage zImage.initrd uImage cuImage |
152 | 152 | ||
153 | PHONY += $(BOOT_TARGETS) | 153 | PHONY += $(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' |
167 | endef | 167 | endef |
168 | 168 | ||
169 | install: | ||
170 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | ||
171 | |||
169 | archclean: | 172 | archclean: |
170 | $(Q)$(MAKE) $(clean)=$(boot) | 173 | $(Q)$(MAKE) $(clean)=$(boot) |
171 | 174 | ||