kconfig: test if a .config already exists
authorSteven Rostedt <srostedt@redhat.com>
Thu, 7 May 2009 15:09:55 +0000 (11:09 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Aug 2009 02:15:55 +0000 (22:15 -0400)
commita7c02602a85a0d3f34331ff34d54de7416085985
treef9bbb2fe066d2b97d51f176a875c5876f34dce89
parenta9024838d029ecd9a6d1389bec798b7296278d6b
kconfig: test if a .config already exists

If one were to run localmodconfig or localyesconfig without having
a .config already in the file, then the end of the process would give
a warning when it tries to move the old .config to .config.old.

This patch adds a test to check if .config exists and avoid the moves
if it does not.

[ Impact: remove warning after make localmodconfig ]

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