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)
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

diff --cc Kbuild
Simple merge
diff --cc Makefile
Simple merge