Re: [Cbe-oss-dev] [PATCH 11/13] cell: split out board specific files
From: Segher Boessenkool <hidden>
Date: 2006-05-03 06:28:24
Also in:
lkml
From: Segher Boessenkool <hidden>
Date: 2006-05-03 06:28:24
Also in:
lkml
quoted
quoted
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 PPCThe 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