kbuild: asm symlink support for arch/$ARCH/include
commite3eb1662f8fc2a2884d630169a4f558f467e3f43
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 22 Oct 2009 10:12:36 +0000 (22 12:12 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 22 Oct 2009 10:12:36 +0000 (22 12:12 +0200)
tree5eab1a1349f35e50056051fc245281a8d27f0c83
parentcb438965732e16e401d191a8dc5d0076bc44a32a
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>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Makefile