From: srinuvasan <
srinuv...@siemens.com>
When building for the container-amd64 machine via the kas menu, the build
hangs during the parsing stage. The example-module is not required for
container-based machines, but it is currently included by default.
Exclude the example-module block when targeting container-amd64 to avoid
these issues.
Signed-off-by: srinuvasan <
srinuv...@siemens.com>
---
kas/package/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kas/package/Kconfig b/kas/package/Kconfig
index a49041e8..e0b7754d 100644
--- a/kas/package/Kconfig
+++ b/kas/package/Kconfig
@@ -37,6 +37,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_RAW
default "kas/package/pkg_example-raw.yaml"
depends on PACKAGE_EXAMPLE_RAW
+if !MACHINE_CONTAINER_AMD64
config PACKAGE_EXAMPLE_MODULE
bool "example-module"
@@ -47,6 +48,7 @@ config KAS_INCLUDE_PACKAGE_EXAMPLE_MODULE
default "kas/package/pkg_example-module.yaml"
depends on PACKAGE_EXAMPLE_MODULE
+endif
config PACKAGE_EXAMPLE_PREBUILT
bool "example-prebuilt"
--
2.39.5