Re: Where is the version.h?

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

 



On 2014-01-27 10:05:05 (+0800), parmenides <mobile.parmenides@xxxxxxxxx> wrote:
> According to LDD3, the linux/module.h automatically includes the
> linux/version, which define some macros to help test the kernel version.
> But I search the source tree, and can not find version.h in
> include/linux. Where can I find it?
> 
It lives in include/generated/uapi/linux/version.h

If you've never built a kernel in your tree you won't find it though,
because it's created from the Makefile. Look for version_h and
filechk_version.h.

Regards,
Kristof

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[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