Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/Makefile: Assemble with -me500 when building for E500

Some of the assembly files use instructions specific to BookE or E500,
which are rejected with the now-default -mcpu=powerpc, so we must pass
-me500 to the assembler just as we pass -me200 for E200.

Fixes: 4bf4f42a2feb ("powerpc/kbuild: Set default generic machine type for 32-bit compile")
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

James Clarke and committed by
Michael Ellerman
4e4a4b75 76fa4975

+1
+1
arch/powerpc/Makefile
··· 243 243 cpu-as-$(CONFIG_4xx) += -Wa,-m405 244 244 cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec) 245 245 cpu-as-$(CONFIG_E200) += -Wa,-me200 246 + cpu-as-$(CONFIG_E500) += -Wa,-me500 246 247 cpu-as-$(CONFIG_PPC_BOOK3S_64) += -Wa,-mpower4 247 248 cpu-as-$(CONFIG_PPC_E500MC) += $(call as-option,-Wa$(comma)-me500mc) 248 249