support/kconfig: add support for olddefconfig
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 Apr 2013 11:24:25 +0000 (11:24 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 11 Apr 2013 07:58:12 +0000 (09:58 +0200)
commit9db3b47ea1b37b1ac52561f94ca39fa9cf4ae74c
tree6fde94467fce8f2b24e72189b0c9fdb25af2b14a
parent6997e461fdb39985957d24d81e612113cf39e35c
support/kconfig: add support for olddefconfig

olddefconfig is a new target available in kconfig that allows to take
an old .config file, and update it to the latest version of the code,
without being asked for questions: it automatically assumes the
default value for options whose value was not defined.

It for example allows to take a minimal defconfig, copy it as .config,
and do 'make olddefconfig' to get the full .config.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile