[Cbe-oss-dev] [PATCH 11/13] cell: split out board specific files
Segher Boessenkool
segher at kernel.crashing.org
Wed May 3 16:28:15 EST 2006
>>> 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
More information about the cbe-oss-dev
mailing list