[isar-cip-core][PATCH 02/12] Kconfig: Introduce hidden ARCH configs


Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Those will allow to model architecture dependencies. No functional
changes yet.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
Kconfig | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

diff --git a/Kconfig b/Kconfig
index d87e0a6d..561bd9a8 100644
--- a/Kconfig
+++ b/Kconfig
@@ -1,3 +1,14 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2021-2022
+#
+# Authors:
+# Jan Kiszka <jan.kiszka@...>
+#
+# SPDX-License-Identifier: MIT
+#
+
mainmenu "Isar core layer of the Civil Infrastructure Platform project"

config KAS_INCLUDE_MAIN
@@ -8,30 +19,49 @@ config KAS_BUILD_SYSTEM
string
default "isar"

+config ARCH_AMD64
+ bool
+
+config ARCH_ARM64
+ bool
+
+config ARCH_ARM
+ bool
+
+config ARCH_RISCV64
+ bool
+
choice
prompt "Target board"
default TARGET_QEMU_AMD64

config TARGET_QEMU_AMD64
bool "QEMU AMD64 (x86-64)"
+ select ARCH_AMD64

config TARGET_SIMATIC_IPC227E
bool "Siemens SIMATIC IPC227E"
+ select ARCH_AMD64

config TARGET_QEMU_ARM64
bool "QEMU ARM64 (aarch64)"
+ select ARCH_ARM64

config TARGET_HIHOPE_RZG2M
bool "HopeRun HiHope-RZ/G2M"
+ select ARCH_ARM64

config TARGET_QEMU_ARM
bool "QEMU ARM (armhf)"
+ select ARCH_ARM

config TARGET_BBB
bool "BeagleBone Black"
+ select ARCH_ARM

config TARGET_IWG20D
bool "iWave Systems RainboW-G20D-Qseven"
+ select ARCH_ARM

endchoice

--
2.35.3