diff options
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 70ba0c0a1223..b8b105c01c64 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -63,9 +63,9 @@ override CC += -m$(CONFIG_WORD_SIZE) | |||
63 | override AR := GNUTARGET=elf$(CONFIG_WORD_SIZE)-powerpc $(AR) | 63 | override AR := GNUTARGET=elf$(CONFIG_WORD_SIZE)-powerpc $(AR) |
64 | endif | 64 | endif |
65 | 65 | ||
66 | LDFLAGS_vmlinux-yy := -Bstatic | 66 | LDFLAGS_vmlinux-y := -Bstatic |
67 | LDFLAGS_vmlinux-$(CONFIG_PPC64)$(CONFIG_RELOCATABLE) := -pie | 67 | LDFLAGS_vmlinux-$(CONFIG_RELOCATABLE) := -pie |
68 | LDFLAGS_vmlinux := $(LDFLAGS_vmlinux-yy) | 68 | LDFLAGS_vmlinux := $(LDFLAGS_vmlinux-y) |
69 | 69 | ||
70 | CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=no -mcall-aixdesc | 70 | CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=no -mcall-aixdesc |
71 | CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple | 71 | CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple |
@@ -131,8 +131,7 @@ KBUILD_CFLAGS += -mno-sched-epilog | |||
131 | endif | 131 | endif |
132 | 132 | ||
133 | cpu-as-$(CONFIG_4xx) += -Wa,-m405 | 133 | cpu-as-$(CONFIG_4xx) += -Wa,-m405 |
134 | cpu-as-$(CONFIG_6xx) += -Wa,-maltivec | 134 | cpu-as-$(CONFIG_ALTIVEC) += -Wa,-maltivec |
135 | cpu-as-$(CONFIG_POWER4) += -Wa,-maltivec | ||
136 | cpu-as-$(CONFIG_E500) += -Wa,-me500 | 135 | cpu-as-$(CONFIG_E500) += -Wa,-me500 |
137 | cpu-as-$(CONFIG_E200) += -Wa,-me200 | 136 | cpu-as-$(CONFIG_E200) += -Wa,-me200 |
138 | 137 | ||
@@ -166,7 +165,7 @@ all: zImage | |||
166 | 165 | ||
167 | # With make 3.82 we cannot mix normal and wildcard targets | 166 | # With make 3.82 we cannot mix normal and wildcard targets |
168 | BOOT_TARGETS1 := zImage zImage.initrd uImage | 167 | BOOT_TARGETS1 := zImage zImage.initrd uImage |
169 | BOOT_TARGETS2 := zImage% dtbImage% treeImage.% cuImage.% simpleImage.% | 168 | BOOT_TARGETS2 := zImage% dtbImage% treeImage.% cuImage.% simpleImage.% uImage.% |
170 | 169 | ||
171 | PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2) | 170 | PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2) |
172 | 171 | ||