diff --git a/generator/yml/0005-architectures.yml b/generator/yml/0005-architectures.yml index 9f9dfcf0..c46b8b79 100644 --- a/generator/yml/0005-architectures.yml +++ b/generator/yml/0005-architectures.yml @@ -8,4 +8,5 @@ architectures: - &powerpc-arch powerpc - &riscv-arch riscv - &s390-arch s390 + - &sparc-arch sparc - &um-arch um diff --git a/generator/yml/0007-configs.yml b/generator/yml/0007-configs.yml index 4dfcd632..daa93bb7 100644 --- a/generator/yml/0007-configs.yml +++ b/generator/yml/0007-configs.yml @@ -85,6 +85,7 @@ configs: # CONFIG_BPF_PRELOAD disabled for pre-5.18 cross compiled Fedora configs: https://github.com/ClangBuiltLinux/linux/issues/1433 - &s390_fedora_bpf {config: [*s390-fedora-config-url, CONFIG_BPF_PRELOAD=n], ARCH: *s390-arch, << : *kernel} - &s390_suse {config: *s390-suse-config-url, ARCH: *s390-arch, << : *kernel} + - &sparc64 {config: sparc64_defconfig, kernel_image: image, ARCH: *sparc-arch, << : *kernel} - &um {config: defconfig, ARCH: *um-arch, << : *kernel} - &x86_64 {config: defconfig, << : *kernel} - &x86_64_lto_full {config: [defconfig, CONFIG_LTO_CLANG_FULL=y], << : *kernel} diff --git a/generator/yml/0009-llvm-tot.yml b/generator/yml/0009-llvm-tot.yml index e89c3991..6ce4b33e 100644 --- a/generator/yml/0009-llvm-tot.yml +++ b/generator/yml/0009-llvm-tot.yml @@ -147,6 +147,7 @@ - {<< : *s390_kasan, << : *next, << : *llvm_full, boot: true, << : *llvm_tot} - {<< : *s390_fedora, << : *next, << : *llvm_full, boot: true, << : *llvm_tot} - {<< : *s390_suse, << : *next, << : *llvm_full, boot: true, << : *llvm_tot} + - {<< : *sparc64, << : *next, << : *clang, boot: true, << : *llvm_tot} - {<< : *um, << : *next, << : *llvm_full, boot: true, << : *llvm_tot} - {<< : *x86_64, << : *next, << : *llvm_full, boot: true, << : *llvm_tot} - {<< : *x86_64_lto_full, << : *next, << : *llvm_full, boot: true, << : *llvm_tot} diff --git a/utils.py b/utils.py index 634ee15a..b4173b01 100644 --- a/utils.py +++ b/utils.py @@ -60,6 +60,7 @@ def get_image_name(): "mips": "vmlinux", "riscv": "Image", "s390": "bzImage", + "sparc": "image", "um": "linux", "x86_64": "bzImage", }[arch] @@ -126,6 +127,7 @@ def get_cbl_name(): "ppc44x_defconfig": "ppc32", "ppc64_guest_defconfig": "ppc64", "powernv_defconfig": "ppc64le", + "sparc64_defconfig": "sparc64", } if "CONFIG_CPU_BIG_ENDIAN=y" in full_config: if arch == "arm64":