/*************************************************************************** * How to learn version information from Linux source * statement : * This article mainly in the transplant bq27441-g1 battery monitoring meter drive process, found that the value of the i²c gets an exception, * before the migration of the official driver discovery driver and the current version of the Linux version seems to be incompatible, but did not carry out * further drill down, here to record. * 2016-2-15 Shenzhen Nanshan Ping Shan village Zengjianfeng ******************************************************* *******************/First, reference document: How to see the Linux kernel version http from the source code://zhidao.baidu.com/question/583880101.htmlsecond, cat Makefile VERSION=3#3.0. -Patchlevel=0Sublevel= *extraversion=NAME=Sneaky Weasel ... Third, https://Git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/makefileVERSION =4#4.5.0Patchlevel=5Sublevel=0extraversion= -RC4 NAME=blurry Fish butt ...
How to learn version information from Linux source