[Cbe-oss-dev] [PATCH 11/13] cell: split out board specific files
Christoph Hellwig
hch at infradead.org
Tue May 2 23:45:36 EST 2006
On Mon, May 01, 2006 at 03:51:35PM -0700, Geoff Levand wrote:
> makefiles don't have as rich a set of logical ops as the
> config files. Its easy to express 'build A if B', but not
> so easy to do 'build A if not C'. To make this work
> cleanly I made PPC_CELL denote !SOME_HYPERVISOR_THING,
> so I can have constructions like this in the makefile:
>
> obj-$(CONFIG_PPC_CELL) += ...
>
> I also got rid of SPUFS_PRIV1_MMIO, since SPUFS_PRIV1_MMIO
> just meant spufs with !SOME_HYPERVISOR_THING.
The Kconfig files has lots of nice operators.
Anyway, until we actually have the cell common hypervisor interface
out in the public adding any support for it in Kconfig or the
Makefile is completely pointless, and a patch like this even when
done correctly shouldn't go in.
> Split the Cell BPA support into generic and platform
> dependant parts.
>
> Creates new config variable CONFIG_PPC_IBM_CELL_BLADE.
That's wrong. Most of these files will be needed to support
the PS3 when running on bare hardware. The right option will
be CELL_SPIDER_HARDWARE, which is right now the only cell
hardware generation supported. It'll become meaningfull when
adding axon support.
More information about the cbe-oss-dev
mailing list