what is the purpose of "LOCALVERSION" variable in scripts/setlocalversion?

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

 



  i was perusing "scripts/setlocalversion" to see the variations for
setting the kernel version, and i ran across this snippet:

  # CONFIG_LOCALVERSION and LOCALVERSION (if set)
  res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}"

i'm well aware of the kernel *config* option CONFIG_LOCALVERSION, but
i was unaware of the apparently independent variable "LOCALVERSION"
which is used in that assignment.

  there's precious little mention of that variable ... under what
circumstances does one set it? is it meant to be set in the user's
environment and simply inherited that way? is anyone here using it on
a regular basis?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


_______________________________________________
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