kconfig: announce removal of 'kvmconfig' and 'xenconfig' shorthands
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 30 Apr 2020 06:18:45 +0000 (15:18 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 May 2020 15:02:32 +0000 (00:02 +0900)
kvmconfig' is a shorthand for kvm_guest.config to save 7 character typing.

xenconfig' is a shorthand for xen.config to save 1 character typing.

There is nothing more than that.

There are more files in kernel/configs/, so it is not maintainable
to wire-up every config fragment to the Kconfig Makefile. Hence,
we should not do this at all.

These will be removed after Linux 5.10. Meanwhile, the following
warning message will be displayed if they are used.

WARNING: 'make kvmconfig' will be removed after Linux 5.10
         Please use 'make kvm_guest.config' instead.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/Makefile

index f3355bd86aa5a56b54ca69caa5d8e28a09da055e..426881ea954f147b66e2da581e58fe57de7e70f7 100644 (file)
@@ -96,11 +96,13 @@ configfiles=$(wildcard $(srctree)/kernel/configs/$@ $(srctree)/arch/$(SRCARCH)/c
 
 PHONY += kvmconfig
 kvmconfig: kvm_guest.config
-       @:
+       @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10"
+       @echo >&2 "         Please use 'make $<' instead."
 
 PHONY += xenconfig
 xenconfig: xen.config
-       @:
+       @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10"
+       @echo >&2 "         Please use 'make $<' instead."
 
 PHONY += tinyconfig
 tinyconfig:
@@ -139,9 +141,6 @@ help:
        @echo  '  helpnewconfig   - List new options and help text'
        @echo  '  olddefconfig    - Same as oldconfig but sets new symbols to their'
        @echo  '                    default value without prompting'
-       @echo  '  kvmconfig       - Enable additional options for kvm guest kernel support'
-       @echo  '  xenconfig       - Enable additional options for xen dom0 and guest kernel'
-       @echo  '                    support'
        @echo  '  tinyconfig      - Configure the tiniest possible kernel'
        @echo  '  testconfig      - Run Kconfig unit tests (requires python3 and pytest)'