This repository was archived by the owner on Apr 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 18
18
env : ARCH=ppc64
19
19
- name : " ARCH=ppc64le LD=ld.lld"
20
20
env : ARCH=ppc64le LD=ld.lld-11
21
+ - name : " ARCH=s390 BOOT=0"
22
+ env : ARCH=s390
21
23
- name : " ARCH=x86_64 LD=ld.lld"
22
24
env : ARCH=x86_64 LD=ld.lld-11
23
25
# linux (cron only)
47
49
- name : " ARCH=ppc64le LD=ld.lld REPO=linux-next"
48
50
env : ARCH=ppc64le LD=ld.lld-11 REPO=linux-next
49
51
if : type = cron
52
+ - name : " ARCH=s390 BOOT=0 REPO=linux-next"
53
+ env : ARCH=s390 REPO=linux-next
54
+ if : type = cron
50
55
- name : " ARCH=x86_64 LD=ld.lld REPO=linux-next"
51
56
env : ARCH=x86_64 LD=ld.lld-11 REPO=linux-next
52
57
if : type = cron
Original file line number Diff line number Diff line change @@ -139,6 +139,13 @@ setup_variables() {
139
139
export ARCH=powerpc
140
140
export CROSS_COMPILE=powerpc64le-linux-gnu- ;;
141
141
142
+ " s390" )
143
+ config=defconfig
144
+ image_name=bzImage
145
+ using_qemu=false
146
+ OBJDUMP=s390x-linux-gnu-objdump
147
+ export CROSS_COMPILE=s390x-linux-gnu- ;;
148
+
142
149
" x86_64" )
143
150
case ${REPO} in
144
151
android-* )
@@ -175,7 +182,7 @@ check_dependencies() {
175
182
# Check for existence of needed binaries
176
183
command -v nproc
177
184
command -v " ${CROSS_COMPILE:- } " as
178
- command -v ${qemu}
185
+ ${using_qemu := true} && command -v ${qemu}
179
186
command -v timeout
180
187
command -v unbuffer
181
188
@@ -345,8 +352,10 @@ build_linux() {
345
352
}
346
353
347
354
boot_qemu () {
355
+ if ! ${using_qemu} ; then
356
+ return 0;
357
+ fi
348
358
local kernel_image
349
-
350
359
if [[ ${image_name} = " vmlinux" ]]; then
351
360
kernel_image=${tree} /vmlinux
352
361
else
You can’t perform that action at this time.
0 commit comments