Hi hpa and others. With my ongoing work to prepare for potential integration of klibc in the kernel I wonder if there wold be any interest in using part of the kbuild infrastructure to build the vanilla klibc? The rationale is obvious: - common codebase for Kbuild files, so one only has to fix things in one place - I force klibc developers to create Kbuild files usable in the kernel - Much nicer output when building ;-) It would take some effort to move over to kbuild. The main parts being different names and missing kbuild functionality. I have a proof-of-concept mucked up already that mostly works. But it does not support stuff like "clean and spotless" targets etc. If there is agreement this is a good way to go then I will give it an extra spin and try to post a few patches. PS. Still missing feedback on kernel integration... Sam
On Wed, Jul 27, 2005 at 11:33:41PM +0200, Sam Ravnborg wrote:> Hi hpa and others. > > With my ongoing work to prepare for potential integration of klibc in > the kernel I wonder if there wold be any interest in using part of the > kbuild infrastructure to build the vanilla klibc?I don't see why not.> The rationale is obvious: > - common codebase for Kbuild files, so one only has to fix things in one > place > - I force klibc developers to create Kbuild files usable in the kernel > - Much nicer output when building ;-)Yes, the last thing would be very nice :)> It would take some effort to move over to kbuild. The main parts being > different names and missing kbuild functionality. > > I have a proof-of-concept mucked up already that mostly works. > But it does not support stuff like "clean and spotless" targets etc. > > If there is agreement this is a good way to go then I will give it an > extra spin and try to post a few patches.If it's not too difficult, and Peter doesn't object... thanks, greg k-h
On Wed, 2005-07-27 at 23:33 +0200, Sam Ravnborg wrote:> With my ongoing work to prepare for potential integration of klibc in > the kernel I wonder if there wold be any interest in using part of the > kbuild infrastructure to build the vanilla klibc?Sounds great. It would make parking klibc in -mm for testing quite a bit easier, as there'd be less patch mangling to maintain two divergent build systems. <b -- Bryan O'Sullivan <bos@serpentine.com>