virt: coco: Add a coco/Makefile and coco/Kconfig
ANBZ: #20392
commit ec51ffcf26
upstream.
In preparation for adding another coco build target, relieve
drivers/virt/Makefile of the responsibility to track new compilation
unit additions to drivers/virt/coco/, and do the same for
drivers/virt/Kconfig.
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Tested-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Zelin Deng <zelin.deng@linux.alibaba.com>
Acked-by: Xuchun Shang <xuchun.shang@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/5060
This commit is contained in:
parent
798186dd41
commit
3e4d6fc742
|
@ -35,10 +35,6 @@ source "drivers/virt/vboxguest/Kconfig"
|
|||
|
||||
source "drivers/virt/nitro_enclaves/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/efi_secret/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/tdx-guest/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/csv-guest/Kconfig"
|
||||
source "drivers/virt/coco/Kconfig"
|
||||
|
||||
endif
|
||||
|
|
|
@ -7,6 +7,4 @@ obj-$(CONFIG_FSL_HV_MANAGER) += fsl_hypervisor.o
|
|||
obj-y += vboxguest/
|
||||
|
||||
obj-$(CONFIG_NITRO_ENCLAVES) += nitro_enclaves/
|
||||
obj-$(CONFIG_EFI_SECRET) += coco/efi_secret/
|
||||
obj-$(CONFIG_INTEL_TDX_GUEST) += coco/tdx-guest/
|
||||
obj-$(CONFIG_CSV_GUEST) += coco/csv-guest/
|
||||
obj-y += coco/
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Confidential computing related collateral
|
||||
#
|
||||
source "drivers/virt/coco/efi_secret/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/csv-guest/Kconfig"
|
||||
|
||||
source "drivers/virt/coco/tdx-guest/Kconfig"
|
|
@ -0,0 +1,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Confidential computing related collateral
|
||||
#
|
||||
obj-$(CONFIG_EFI_SECRET) += efi_secret/
|
||||
obj-$(CONFIG_SEV_GUEST) += csv-guest/
|
||||
obj-$(CONFIG_INTEL_TDX_GUEST) += tdx-guest/
|
Loading…
Reference in New Issue