kconfig: do not hardcode ".config" filename
authorMarkus Heidelberg <markus.heidelberg@web.de>
Sun, 17 May 2009 23:36:53 +0000 (01:36 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 9 Jun 2009 20:37:51 +0000 (22:37 +0200)
commit284026cdfb5a899e558dcb7a36aefaf54a78c094
tree6a03143cbf7727132494cb68a1420940dc5b7d98
parent8d90c97e46930d01e9394bceb6276c7175136bdc
kconfig: do not hardcode ".config" filename

Rather than hardcoding ".config" use conf_get_configname(), which also
respects the environment variable KCONFIG_CONFIG.

This fixes "make silentoldconfig" when KCONFIG_CONFIG is used and also
suggests the given filename for "Load" and "Save as" in qconf.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/conf.c
scripts/kconfig/qconf.cc