Skip to content
Commit dcc2da1a authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 46dca86c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment