mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Question] What is the main function of sym_calc_value() under scripts/kconfig/symbol.c
@ 2019-08-28  9:12 宋
  0 siblings, 0 replies; only message in thread
From: 宋 @ 2019-08-28  9:12 UTC (permalink / raw)
  To: linux-kernel


Hi,


When "make KCONFIG_ALLCONFIG= mytmp.config alldefconfig", I find sym_calc_value() under scripts/kconfig/symbol.c is called many times.


But I don't understand what does sym_calc_value() do.


make KCONFIG_ALLCONFIG= mytmp.config alldefconfig
-> scripts/kconfig/conf.c main()
-> switch case alldefconfig
-> conf_write()
-> sym_calc_value()
sym_calc_value() is also called in many other place.


Can you tell me the function of sym_calc_value() ?


main(): https://github.com/torvalds/linux/blob/9e8312f5e160ade069e131d54ab8652cf0e86e1a/scripts/kconfig/conf.c#L486


sym_calc_value(): https://github.com/torvalds/linux/blob/9e8312f5e160ade069e131d54ab8652cf0e86e1a/scripts/kconfig/symbol.c#L319 


BestRegard,
-- Csqshz


 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-28  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28  9:12 [Question] What is the main function of sym_calc_value() under scripts/kconfig/symbol.c

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®