How about a few symlinks.....
Mike Fedyk
mfedyk at matchmail.com
Wed Aug 8 09:23:37 EST 2001
On Tue, Aug 07, 2001 at 04:59:22PM -0400, Dan Malek wrote:
>
> While editing some Makefiles I was wondering what people thought
> of using symlinks to processor dependent files instead of nested
> ifdefs in Makefiles?
>
> For starters, make arch/ppc/kernel/head.S a symlink to the appropriate
> one in that directory, and derive the name to use from one of the
> config options. I thought I would ask before demonstrating the change.
>
Also, include/asm is just a lymlink to asm-${arch}.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list