How about a few symlinks.....

Dan Malek dan at
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.


	-- Dan

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list