Re: header files in linux

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

 



On 9/21/06, Stanislav Belogolov <shisoik@xxxxxxxxx> wrote:
Hi.

As a kernel developer you are not supposed to include any files except
headers located in kernel.

/usr/include usually contains your system' different header files.
/usr/src/linux-2.xx.yy/include contains headers which belong to kernel.
/lib/modules/2.xx.yy/build/include I am not sure, but I guess it's the
If properly installed, the kernel modules directory will have a
symbolic link called 'build' that will point to the kernel build
directory. ie, if you had compiled and installed the kernel from a
location say /usr/src/linux-2.6.xx/ then the symbolic link
/lib/modules/2.6.xx/build will point to /usr/src/linux-2.6.xx/.

same kernel headers copied after "make modules_install"

No kernel headers are copied. Only the symbolic link 'build'(as well
as 'source') is created to the directory.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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