11kasan_configs :
22 - &arm64-kasan-configs {config: [defconfig, CONFIG_FTRACE=y, CONFIG_KASAN=y, CONFIG_KASAN_KUNIT_TEST=y, CONFIG_KASAN_VMALLOC=y, CONFIG_KUNIT=y]}
33 - &arm64-kasan-sw-configs {config: [defconfig, CONFIG_FTRACE=y, CONFIG_KASAN=y, CONFIG_KASAN_KUNIT_TEST=y, CONFIG_KASAN_SW_TAGS=y, CONFIG_KUNIT=y]}
4+ allmod_lto_configs :
5+ # CONFIG_FORTIFY_KUNIT_TEST disabled due to https://github.com/ClangBuiltLinux/linux/issues/2075
6+ - &arm64-allmod-lto-configs {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y, CONFIG_FORTIFY_KUNIT_TEST=n]}
7+ # CONFIG_DRM_OMAP=n due to https://github.com/ClangBuiltLinux/linux/issues/2038
8+ - &loong-allmod-lto-configs {config: [allmodconfig, CONFIG_FTRACE=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y, CONFIG_DRM_OMAP=n]}
9+ - &riscv-allmod-lto-configs {config: [allmodconfig, CONFIG_WERROR=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y]}
10+ - &x86_64-allmod-lto-configs {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y, CONFIG_FORTIFY_KUNIT_TEST=n]}
411configs :
512 # config: image target (optional) [ARCH:] (Optional: x86) targets to build
613 - &arm32_v5 {config: multi_v5_defconfig, ARCH: *arm-arch, << : *kernel_dtbs}
@@ -31,8 +38,7 @@ configs:
3138 - &arm64_gki {config: [gki_defconfig, CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=n], ARCH: *arm64-arch, << : *kernel}
3239 - &arm64_cut {config: cuttlefish_defconfig, ARCH: *arm64-arch, << : *kernel}
3340 - &arm64_allmod {config: allmodconfig, ARCH: *arm64-arch, << : *default}
34- # CONFIG_FORTIFY_KUNIT_TEST disabled due to https://github.com/ClangBuiltLinux/linux/issues/2075
35- - &arm64_allmod_lto {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y, CONFIG_FORTIFY_KUNIT_TEST=n], ARCH: *arm64-arch, << : *default}
41+ - &arm64_allmod_lto {<< : *arm64-allmod-lto-configs, ARCH: *arm64-arch, << : *default}
3642 - &arm64_allno {config: allnoconfig, ARCH: *arm64-arch, << : *default}
3743 - &arm64_allyes {config: allyesconfig, ARCH: *arm64-arch, << : *default}
3844 - &arm64_alpine {config: *arm64-alpine-config-url, ARCH: *arm64-arch, << : *kernel}
@@ -53,7 +59,7 @@ configs:
5359 - &loong_lto_thin {config: [defconfig, CONFIG_LTO_CLANG_THIN=y], ARCH: *loongarch-arch, << : *kernel}
5460 # CONFIG_DRM_OMAP=n due to https://github.com/ClangBuiltLinux/linux/issues/2038
5561 - &loong_allmod {config: [allmodconfig, CONFIG_DRM_OMAP=n], ARCH: *loongarch-arch, << : *default}
56- - &loong_allmod_lto {config: [allmodconfig, CONFIG_FTRACE=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y, CONFIG_DRM_OMAP=n], ARCH: *loongarch-arch, << : *default}
62+ - &loong_allmod_lto {<< : *loong-allmod-lto-configs, ARCH: *loongarch-arch, << : *default}
5763 - &mips {config: [malta_defconfig, CONFIG_BLK_DEV_INITRD=y, CONFIG_CPU_BIG_ENDIAN=y], kernel_image: vmlinux, ARCH: *mips-arch, << : *kernel}
5864 - &mipsel {config: [malta_defconfig, CONFIG_BLK_DEV_INITRD=y], kernel_image: vmlinux, ARCH: *mips-arch, << : *kernel}
5965 - &ppc32 {config: ppc44x_defconfig, kernel_image: uImage, ARCH: *powerpc-arch, << : *kernel}
@@ -71,7 +77,7 @@ configs:
7177 - &riscv_lto_full {config: [defconfig, CONFIG_LTO_CLANG_FULL=y], kernel_image: Image, ARCH: *riscv-arch, << : *kernel}
7278 - &riscv_lto_thin {config: [defconfig, CONFIG_LTO_CLANG_THIN=y], kernel_image: Image, ARCH: *riscv-arch, << : *kernel}
7379 - &riscv_allmod {config: [allmodconfig, CONFIG_WERROR=n], kernel_image: Image, ARCH: *riscv-arch, << : *default}
74- - &riscv_allmod_lto {config: [allmodconfig, CONFIG_WERROR=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y], kernel_image: Image, ARCH: *riscv-arch, << : *default}
80+ - &riscv_allmod_lto {<< : *riscv-allmod-lto-configs, kernel_image: Image, ARCH: *riscv-arch, << : *default}
7581 # https://github.com/ClangBuiltLinux/linux/issues/1143
7682 - &riscv_no_efi {config: [defconfig, CONFIG_EFI=n], kernel_image: Image, ARCH: *riscv-arch, << : *kernel}
7783 - &riscv_alpine {config: *riscv-alpine-config-url, kernel_image: Image, ARCH: *riscv-arch, << : *kernel}
@@ -94,8 +100,7 @@ configs:
94100 - &x86_64_gki {config: [gki_defconfig, CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=n], << : *kernel}
95101 - &x86_64_cut {config: x86_64_cuttlefish_defconfig, << : *kernel}
96102 - &x86_64_allmod {config: allmodconfig, << : *default}
97- # CONFIG_FORTIFY_KUNIT_TEST disabled due to https://github.com/ClangBuiltLinux/linux/issues/2075
98- - &x86_64_allmod_lto {config: [allmodconfig, CONFIG_GCOV_KERNEL=n, CONFIG_KASAN=n, CONFIG_LTO_CLANG_THIN=y, CONFIG_FORTIFY_KUNIT_TEST=n], << : *default}
103+ - &x86_64_allmod_lto {<< : *x86_64-allmod-lto-configs, << : *default}
99104 - &x86_64_allno {config: allnoconfig, << : *default}
100105 - &x86_64_allyes {config: allyesconfig, << : *default}
101106 - &x86_64_gcov {config: [defconfig, CONFIG_GCOV_KERNEL=y, CONFIG_GCOV_PROFILE_ALL=y], << : *kernel}
0 commit comments