mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
feec5e1f74
Currently the Kconfig fragments in kernel/configs and arch/*/configs that aren't used internally aren't discoverable through "make help", which consists of hard-coded lists of config fragments. Instead, list all the fragment targets that have a "# Help: " comment prefix so the targets can be generated dynamically. Add logic to the Makefile to search for and display the fragment and comment. Add comments to fragments that are intended to be direct targets. Signed-off-by: Kees Cook <keescook@chromium.org> Co-developed-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Reviewed-by: Nicolas Schier <nicolas@fjasle.eu> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
# Help: Bootable as a Xen guest
|
|
#
|
|
# global stuff - these enable us to allow some
|
|
# of the not so generic stuff below for xen
|
|
CONFIG_PARAVIRT=y
|
|
CONFIG_NET=y
|
|
CONFIG_NET_CORE=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_BLOCK=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_TARGET_CORE=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_FB=y
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_MEMORY_HOTPLUG=y
|
|
CONFIG_TTY=y
|
|
# Technically not required but otherwise produces
|
|
# pretty useless systems starting from allnoconfig
|
|
# You want TCP/IP and ELF binaries right?
|
|
CONFIG_INET=y
|
|
CONFIG_BINFMT_ELF=y
|
|
# generic config
|
|
CONFIG_XEN=y
|
|
CONFIG_XEN_DOM0=y
|
|
# backend drivers
|
|
CONFIG_XEN_BACKEND=y
|
|
CONFIG_XEN_BLKDEV_BACKEND=m
|
|
CONFIG_XEN_NETDEV_BACKEND=m
|
|
CONFIG_HVC_XEN=y
|
|
CONFIG_XEN_WDT=m
|
|
CONFIG_XEN_SCSI_BACKEND=m
|
|
# frontend drivers
|
|
CONFIG_XEN_FBDEV_FRONTEND=m
|
|
CONFIG_HVC_XEN_FRONTEND=y
|
|
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=m
|
|
CONFIG_XEN_SCSI_FRONTEND=m
|
|
# others
|
|
CONFIG_XEN_BALLOON=y
|
|
CONFIG_XEN_DEV_EVTCHN=m
|
|
CONFIG_XEN_BLKDEV_FRONTEND=m
|
|
CONFIG_XEN_NETDEV_FRONTEND=m
|
|
CONFIG_XENFS=m
|
|
CONFIG_XEN_COMPAT_XENFS=y
|
|
CONFIG_XEN_SYS_HYPERVISOR=y
|
|
CONFIG_XEN_XENBUS_FRONTEND=y
|
|
CONFIG_XEN_GNTDEV=m
|
|
CONFIG_XEN_GRANT_DEV_ALLOC=m
|
|
CONFIG_SWIOTLB_XEN=y
|
|
CONFIG_XEN_PRIVCMD=m
|