@@ -54,6 +54,7 @@ ARCH_mips32le = mips
54
54
ARCH_mips32be = mips
55
55
ARCH_riscv32 = riscv
56
56
ARCH_riscv64 = riscv
57
+ ARCH_s390x = s390
57
58
ARCH := $(or $(ARCH_$(XARCH ) ) ,$(XARCH ) )
58
59
59
60
# kernel image names by architecture
@@ -70,7 +71,7 @@ IMAGE_ppc64le = arch/powerpc/boot/zImage
70
71
IMAGE_riscv = arch/riscv/boot/Image
71
72
IMAGE_riscv32 = arch/riscv/boot/Image
72
73
IMAGE_riscv64 = arch/riscv/boot/Image
73
- IMAGE_s390 = arch/s390/boot/bzImage
74
+ IMAGE_s390x = arch/s390/boot/bzImage
74
75
IMAGE_loongarch = arch/loongarch/boot/vmlinuz.efi
75
76
IMAGE = $(objtree ) /$(IMAGE_$(XARCH ) )
76
77
IMAGE_NAME = $(notdir $(IMAGE ) )
@@ -89,7 +90,7 @@ DEFCONFIG_ppc64le = powernv_defconfig
89
90
DEFCONFIG_riscv = defconfig
90
91
DEFCONFIG_riscv32 = rv32_defconfig
91
92
DEFCONFIG_riscv64 = defconfig
92
- DEFCONFIG_s390 = defconfig
93
+ DEFCONFIG_s390x = defconfig
93
94
DEFCONFIG_loongarch = defconfig
94
95
DEFCONFIG = $(DEFCONFIG_$(XARCH ) )
95
96
@@ -112,7 +113,7 @@ QEMU_ARCH_ppc64le = ppc64
112
113
QEMU_ARCH_riscv = riscv64
113
114
QEMU_ARCH_riscv32 = riscv32
114
115
QEMU_ARCH_riscv64 = riscv64
115
- QEMU_ARCH_s390 = s390x
116
+ QEMU_ARCH_s390x = s390x
116
117
QEMU_ARCH_loongarch = loongarch64
117
118
QEMU_ARCH = $(QEMU_ARCH_$(XARCH ) )
118
119
@@ -140,7 +141,7 @@ QEMU_ARGS_ppc64le = -M powernv -append "console=hvc0 panic=-1 $(TEST:%=NOLIBC
140
141
QEMU_ARGS_riscv = -M virt -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=% ) "
141
142
QEMU_ARGS_riscv32 = -M virt -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=% ) "
142
143
QEMU_ARGS_riscv64 = -M virt -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=% ) "
143
- QEMU_ARGS_s390 = -M s390-ccw-virtio -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=% ) "
144
+ QEMU_ARGS_s390x = -M s390-ccw-virtio -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=% ) "
144
145
QEMU_ARGS_loongarch = -M virt -append "console=ttyS0,115200 panic=-1 $(TEST:%=NOLIBC_TEST=% ) "
145
146
QEMU_ARGS = -m 1G $(QEMU_ARGS_$(XARCH ) ) $(QEMU_ARGS_BIOS ) $(QEMU_ARGS_EXTRA )
146
147
@@ -158,7 +159,7 @@ CFLAGS_i386 = $(call cc-option,-m32)
158
159
CFLAGS_ppc = -m32 -mbig-endian -mno-vsx $(call cc-option,-mmultiple)
159
160
CFLAGS_ppc64 = -m64 -mbig-endian -mno-vsx $(call cc-option,-mmultiple)
160
161
CFLAGS_ppc64le = -m64 -mlittle-endian -mno-vsx $(call cc-option,-mabi=elfv2)
161
- CFLAGS_s390 = -m64
162
+ CFLAGS_s390x = -m64
162
163
CFLAGS_mips32le = -EL -mabi=32 -fPIC
163
164
CFLAGS_mips32be = -EB -mabi=32
164
165
CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call cc-option,-fstack-protector-all) )
0 commit comments