[PATCH] Set cpu explicitly in kernel compiles
Paul Mackerras
paulus at samba.org
Thu Apr 6 14:37:36 EST 2006
Olaf Hering writes:
> --- linux-2.6.16-olh.orig/arch/powerpc/Makefile
> +++ linux-2.6.16-olh/arch/powerpc/Makefile
> @@ -107,6 +107,7 @@ endif
> cpu-as-$(CONFIG_PPC64BRIDGE) += -Wa,-mppc64bridge
> cpu-as-$(CONFIG_4xx) += -Wa,-m405
> cpu-as-$(CONFIG_6xx) += -Wa,-maltivec
> +cpu-as-$(CONFIG_6xx) += -mcpu=powerpc
Is this really the right place for this? The cpu-as- thing is really
for assembler options.
Paul.
More information about the Linuxppc-dev
mailing list