kbuild: fix make dir/file.xx when asm symlink is missing
authorSam Ravnborg <sam@mars.ravnborg.org>
Sun, 5 Mar 2006 11:10:58 +0000 (12:10 +0100)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 5 Mar 2006 11:10:58 +0000 (12:10 +0100)
commitf6ecebd6592ea70e9450ec70efb24220dd961ebc
treec76d3b93958afdeb4ac2f672205cce2e40e7140a
parent43c74d179596ba1f8eceb8c6a5c7e11afe233662
kbuild: fix make dir/file.xx when asm symlink is missing

Added a dependency so we do full preparation before trying to build single
file targets. This fixes a case where Andrew Morton did:
make kernel/sched.o
        rm include/asm
make kernel/sched.o     -> splat

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