How about a few symlinks.....

Dan Malek dan at mvista.com
Wed Aug 8 06:59:22 EST 2001


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.

Thanks.


	-- Dan

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





More information about the Linuxppc-dev mailing list