[patch][5/5] powerpc: Add the general support for Embedded Floating-Point instructions

Christoph Hellwig hch at lst.de
Fri Jan 12 20:52:13 EST 2007

On Fri, Jan 12, 2007 at 01:31:02PM +0800, ebony.zhu at freescale.com wrote:
> +ifeq ($(CONFIG_SPE),y)
> +core-y				+= arch/powerpc/math-emu/
> +endif
> +endif
>  core-$(CONFIG_MATH_EMULATION)	+= arch/powerpc/math-emu/

This statement doesn't make any sense.  I guess you always want to
build arch/powerpc/math-emu if CONFIG_SPE is set, right?  The proper
way to do that is to force CONFIG_MATH_EMULATION in the Kconfig.

Then again we need a really good explanation why CONFIG_SPE should
force the math emulation to be built.

More information about the Linuxppc-dev mailing list