how exactly does klibc fit into a normal kernel build?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i'm trying to figure out how klibc is part of a regular kernel
build, and i'm having trouble.

  i understand (in a general sense) that klibc is a tiny C library
meant for userspace, and for creating initramfs images.  but it's
clearly not part of the current kernel source tree, and yet, if you
look in /usr, the Makefile there just as clearly has a few
klibc-related references:

$ grep -rw klibcdirs *
usr/Makefile:klibcdirs:;
usr/Makefile:PHONY += klibcdirs
usr/Makefile:$(deps_initramfs): klibcdirs
usr/Makefile:$(obj)/initramfs_data.cpio.gz: $(obj)/gen_init_cpio $(deps_initramfs) klibcdirs

  but what's the reasoning behind that "klibcdirs" target?  it doesn't
seem to have any value.  can someone clarify what's going on here, and
how klibc can affect a kernel configuration and build?  thanks.

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux