aboutsummaryrefslogtreecommitdiff
path: root/arch/Config.in.s390x
diff options
context:
space:
mode:
Diffstat (limited to 'arch/Config.in.s390x')
-rw-r--r--arch/Config.in.s390x29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/Config.in.s390x b/arch/Config.in.s390x
new file mode 100644
index 0000000000..ad866b421e
--- /dev/null
+++ b/arch/Config.in.s390x
@@ -0,0 +1,29 @@
+choice
+ prompt "Target Architecture Variant"
+ help
+ Specific CPU variant to use
+
+config BR2_s390x_z13
+ bool "z13"
+
+config BR2_s390x_z14
+ bool "z14"
+
+config BR2_s390x_z15
+ bool "z15"
+
+endchoice
+
+config BR2_ARCH
+ default "s390x" if BR2_s390x
+
+config BR2_ENDIAN
+ default "BIG"
+
+config BR2_GCC_TARGET_ARCH
+ default "arch11" if BR2_s390x_z13
+ default "arch12" if BR2_s390x_z14
+ default "arch13" if BR2_s390x_z15
+
+config BR2_READELF_ARCH_NAME
+ default "IBM S/390" if BR2_s390x