klibc/kbuild: fix building with make O=.. in the kernel

Create output directory for klib-y targets if it does not exists.
This fixes compiling with make O=.. in the kernel.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
1 file changed