kbuild: asm symlink support for arch/$ARCH/include
authorSam Ravnborg <sam@ravnborg.org>
Sun, 22 Jun 2008 19:42:06 +0000 (21:42 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 25 Jul 2008 20:12:34 +0000 (22:12 +0200)
commit2e57d051160dd61776461637f767df19036b1186
treefc167eb026320e6aa9ecd1990e62ce0ee100572d
parenta53ce098a763a33311b60c53161572f5789d5594
kbuild: asm symlink support for arch/$ARCH/include

Adjust the asm symlink support so we do not create the
symlink unless really needed.
We check the precense of include/asm-$ARCH by checking
for the system.h file. We may end up with a stale directory
so it is not enough to check if the directory is present.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Kbuild
Makefile