include/asm-ppc/platforms/

Matt Porter mporter at mvista.com
Tue Nov 27 23:00:41 EST 2001


On Thu, Dec 27, 2001 at 09:59:59AM -0500, Dan Malek wrote:
>
> Paul Mackerras wrote:
>
>
> > Does anyone have any comments or objections?
>
> That's a pretty good idea, and I have another one.  Name the
> directory include/asm-ppc/ppc-platforms or something, then
> have a symbolic link
> 	include/asm/platform -> include/asm-ppc/ppc-platforms/<board-file>
>
> That way we can just #include <platform.h> instead of having lots
> of ifdefs in upper level files to determine which one is needed.  If
> we are moving files around, let's have some effect on actually making
> it easier to use them, too.

Yes, this is similar to what has worked well in the arm tree.

--
Matt Porter
MontaVista Software, INc.
mporter at mvista.com

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list