|
@@ -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
|