Released on Wed, 02 Aug 2006 02:54:38 +0000
klibc/kbuild: proper library support for klibc programs

resume introduced a dependency on a few .o files located in
usr/kinit/ which confused kbuild.
Add proper library support so any targets specified with lib-y is build
before visiting subdirectories and thus the resulting lib.a may be used
from the subdirectory Kbuild files.
This also removes the ugly hack committed a few days ago solving the
same problem in a very unelegant way.

Tested on x86_64 with "make -j".

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
3 files changed