Subject: toolchain/15191: kernel library build scheme shouldn't use bsd.lib.mk
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 01/09/2002 12:45:49
>Synopsis: kernel library build scheme shouldn't use bsd.lib.mk
>Arrival-Date: Wed Jan 09 09:47:01 PST 2002
>Originator: Todd Vierling
>Release: -current 9 Jan 2002
duh.org: Pointing out the obvious since 1994.
The libraries in src/sys/lib use a very odd recursion trick with <bsd.lib.mk> in
order to do their dirty work. This build mechanism has some serious problems,
only the least of which is that the .o.o symbol-strip hack (not needed for
kernels) doesn't necessarily work when the target object format isn't the
"default" for a platform.
Build a GENERIC32 kernel for sparc64.
Ideally, the $MAKE recursion should go away entirely, and libraries should be
built using rules lifted right into Makefile.kern.inc. Alternatively, a
Makefile.kernlib.inc fragment could be created.