From: 宋 <csqshz@163.com>
To: linux-kernel@vger.kernel.org
Subject: [Question] What is the main function of sym_calc_value() under scripts/kconfig/symbol.c
Date: Wed, 28 Aug 2019 17:12:23 +0800 (CST) [thread overview]
Message-ID: <27eba10c.a74e.16cd77f5c79.Coremail.csqshz@163.com> (raw)
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
reply other threads:[~2019-08-28 9:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27eba10c.a74e.16cd77f5c79.Coremail.csqshz@163.com \
--to=csqshz@163.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®