Skip to content

Commit ec51ffc

Browse files
committed
virt: coco: Add a coco/Makefile and coco/Kconfig
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>
1 parent db10cb9 commit ec51ffc

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

drivers/virt/Kconfig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ source "drivers/virt/nitro_enclaves/Kconfig"
4848

4949
source "drivers/virt/acrn/Kconfig"
5050

51-
source "drivers/virt/coco/efi_secret/Kconfig"
52-
53-
source "drivers/virt/coco/sev-guest/Kconfig"
54-
55-
source "drivers/virt/coco/tdx-guest/Kconfig"
51+
source "drivers/virt/coco/Kconfig"
5652

5753
endif

drivers/virt/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ obj-y += vboxguest/
99

1010
obj-$(CONFIG_NITRO_ENCLAVES) += nitro_enclaves/
1111
obj-$(CONFIG_ACRN_HSM) += acrn/
12-
obj-$(CONFIG_EFI_SECRET) += coco/efi_secret/
13-
obj-$(CONFIG_SEV_GUEST) += coco/sev-guest/
14-
obj-$(CONFIG_INTEL_TDX_GUEST) += coco/tdx-guest/
12+
obj-y += coco/

drivers/virt/coco/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Confidential computing related collateral
4+
#
5+
source "drivers/virt/coco/efi_secret/Kconfig"
6+
7+
source "drivers/virt/coco/sev-guest/Kconfig"
8+
9+
source "drivers/virt/coco/tdx-guest/Kconfig"

drivers/virt/coco/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Confidential computing related collateral
4+
#
5+
obj-$(CONFIG_EFI_SECRET) += efi_secret/
6+
obj-$(CONFIG_SEV_GUEST) += sev-guest/
7+
obj-$(CONFIG_INTEL_TDX_GUEST) += tdx-guest/

0 commit comments

Comments
 (0)