Re: [Cbe-oss-dev] [PATCH 11/13] cell: split out board specific files

From: Segher Boessenkool
Date: Wed May 03 2006 - 02:35:21 EST


Well, it could run on other platforms, except:

- it requires a few properties in the device tree (local-mac- address,
firmware), so it should also depend on PPC

The portions of code that require OF should have appropriate #ifdef
guards.

So you're suggesting that we change the Makefile so we can *add*
ifdefs? Usually we do it the other way around. :)

Yeah, what was I thinking. So use some platform hook instead.

But Arnd of course is right; if the driver (currently) only works
on a certain platform, just mark it as such in the Makefile (erm,
Kconfig file).

Hey, we should probably do that with 90% of all drivers. But that
is a discussion for some other day :-)


Segher

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/