On Thu, 21 Apr 2011, Andy Green wrote:
On 04/21/2011 07:08 PM, Somebody in the thread at some point said:
make ARCH=arm defconfig cat arch/arm/configs/omap4_defconfig>>.config make ARCH=arm oldnoconfig
make omap4_defconfig
Wow that is a lot simpler... if you know it.
When trying to figure this out I googled the original patch that added the savedefconfig and it doesn't mention this Makefile magic; I guess it was added later.
In fact, this has been there almost forever. The rule is in scripts/kconfig/Makefile on line 354.
There are a lot of nice Make targets available. Just try "make help".
Nicolas