hwrng: omap - Add OMAP4 TRNG support
[linux-2.6-block.git] / arch / x86 / Makefile
index 5c477260294f6ef78b1c1de6998b4860cc64ffbb..07639c656fcd89b1212e14b57bfc910549a44407 100644 (file)
@@ -220,6 +220,12 @@ archclean:
        $(Q)$(MAKE) $(clean)=$(boot)
        $(Q)$(MAKE) $(clean)=arch/x86/tools
 
+PHONY += kvmconfig
+kvmconfig:
+       $(if $(wildcard $(objtree)/.config),, $(error You need an existing .config for this target))
+       $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m -O $(objtree) $(objtree)/.config arch/x86/configs/kvm_guest.config
+       $(Q)yes "" | $(MAKE) oldconfig
+
 define archhelp
   echo  '* bzImage      - Compressed kernel image (arch/x86/boot/bzImage)'
   echo  '  install      - Install kernel using'
@@ -233,4 +239,5 @@ define archhelp
   echo  '                  bzdisk/fdimage*/isoimage also accept:'
   echo  '                  FDARGS="..."  arguments for the booted kernel'
   echo  '                  FDINITRD=file initrd for the booted kernel'
+  echo  '  kvmconfig   - Enable additional options for guest kernel support'
 endef