x86, platform, kconfig: move kvmconfig functionality to a helper
authorJosh Triplett <josh@joshtriplett.org>
Wed, 6 Aug 2014 22:21:00 +0000 (15:21 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Fri, 8 Aug 2014 23:27:14 +0000 (16:27 -0700)
commit3aaefce10351fecab348f5e06857f44cafc61a62
treeab63e13c6a3300bc7df97c2a8f486b5d4a922931
parent85417aef44fc58b08773117ceb1bc6ca5684e973
x86, platform, kconfig: move kvmconfig functionality to a helper

The new mergeconfig helper makes it easier to add other partial
configurations similar to kvmconfig.  Architecture-independent portions
of those partial configurations should go in
kernel/configs/${name}.config, and architecture-dependent portions
should go in arch/${arch}/configs/${name}.config.

Based on a patch by Luis R. Rodriguez <mcgrof@suse.com>.
Originally-Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Modified to make the helper name more general than just virtualization,
support architecture-dependent and architecture-independent partial
configurations, move the helper and kvmconfig to
scripts/kconfig/Makefile, and factor out more of the common file path.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
arch/x86/Makefile
scripts/kconfig/Makefile