diff mbox series

[isar-cip-core] Kconfig: Fix dependency of security extensions

Message ID 31dd2781-6864-4dea-9aea-b50764a3e507@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] Kconfig: Fix dependency of security extensions | expand

Commit Message

Jan Kiszka Jan. 11, 2024, 1:51 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

IMAGE_SECURITY selects IMAGE_DATA_ENCRYPTION, and that is currently only
supported on QEMU AMD64/ARM64/ARM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Kconfig b/Kconfig
index d0dc13b1..7c196404 100644
--- a/Kconfig
+++ b/Kconfig
@@ -171,8 +171,9 @@  config KAS_INCLUDE_IMAGE_FORMAT
 config IMAGE_SECURITY
 	bool "Security extensions"
 	select IMAGE_DATA_ENCRYPTION
-        help
-          This enables security, encryption, secureboot and swupdate for IEC 62443-4-2.
+	depends on TARGET_QEMU_AMD64 || TARGET_QEMU_ARM64 || TARGET_QEMU_ARM
+	help
+	  This enables security, encryption, secureboot and swupdate for IEC 62443-4-2.
 
 config KAS_INCLUDE_SECURITY
 	string