[klibc] klibc structure in the kernel

Sam Ravnborg sam at ravnborg.org
Fri Jul 30 23:03:42 PDT 2004


Hi all.

Proposal for directory structure in the kernel:

usr/include			<= _all_ include files
usr/include/{net,sys,..}
usr/include/arch/$(ARCH)	<= arch specific include files
*1

usr/klibc			<= klibc files
usr/klibc/arch/$(ARCH)		<= arch specific config and files
				   except include files

usr/kinit			<= program integrated in the kernel
usr/kinit/nfsmount		<= used by kinit, and stanalone
usr/kinit/ipconfig		<= as do
*2

*1
Combine all header files in a single tree with an arch specific
place when relevant.

*2
Will we clutter this up over time or is this flat structure OK?
The reason to keep nfsmount/ipconfig under kinit is that kinit are
dependent on the two.

	Sam



More information about the klibc mailing list