]> bbs.cooldavid.org Git - net-next-2.6.git/commit - kernel/Makefile
kconfig: keep config.gz around even if CONFIG_IKCONFIG_PROC is not set
authorSteven Rostedt <srostedt@redhat.com>
Thu, 30 Apr 2009 16:32:04 +0000 (12:32 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Aug 2009 02:01:08 +0000 (22:01 -0400)
commitde481560eb0bd9d940b90311eba85711e4b1150b
tree51001590f3a317a6de96d8fa32c86c5be63579dd
parent6be51ffc1791b72d11cef9bb0a578fe8c5d64c6a
kconfig: keep config.gz around even if CONFIG_IKCONFIG_PROC is not set

If CONFIG_IKCONFIG is set but CONFIG_IKCONFIG_PROC is not, then
gcc will optimize the config.gz out, because nobody uses it.

This patch adds "__used" to the config.gz data to keep it around so that
code like extract-ikconfig can still find it.

[ Impact: allow extract-ikconfig to find config.gz ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/Makefile