]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: improve check-symlink
authorSam Ravnborg <sam@ravnborg.org>
Sat, 25 Oct 2008 20:58:23 +0000 (22:58 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 29 Oct 2008 21:02:07 +0000 (22:02 +0100)
commit6f68432d54b5f3d5fd9a3cd8c0b66c2571ce3aed
tree996353cc1fc108d593381cb6c2d1e5afe985ec49
parent5a31bcc00dee2eecda351b918f7ebf87e5b44324
kbuild: improve check-symlink

o if include/asm point to a nonexisting directory remove the asm symlink
o if include/asm is a directory error out

This fixes a situation where one could be left with a symlink
to asm-x86 but that directory no longer exist and thus the build
would error out.

include/asm may be a directory if the kernel tree has been copied

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