Skip to content

Commit 23f652f

Browse files
committed
generator: yml: Disable CONFIG_DRM_OMAP with LoongArch configurations
A recent change in linux-next allows this driver to be built with CONFIG_COMPILE_TEST=y, which causes a couple of -Wframe-larger-than warnings to show up with ARCH=loongarch. This appears to be an issue in LLVM, for which I filed an issue. As this code won't actually run on LoongArch machines, just disable it to avoid having to turn off CONFIG_WERROR altogether with this configuration. Link: ClangBuiltLinux/linux#2038 Signed-off-by: Nathan Chancellor <[email protected]>
1 parent a1b000f commit 23f652f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

generator/yml/0007-configs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ configs:
5353
- &i386_suse {config: *i386-suse-config-url, ARCH: *i386-arch, << : *default}
5454
- &loong {config: defconfig, ARCH: *loongarch-arch, << : *kernel}
5555
- &loong_lto_thin {config: [defconfig, CONFIG_LTO_CLANG_THIN=y], ARCH: *loongarch-arch, << : *kernel}
56-
- &loong_allmod {config: allmodconfig, ARCH: *loongarch-arch, << : *default}
57-
- &loong_allmod_lto {config: [allmodconfig, CONFIG_FTRACE=n, CONFIG_GCOV_KERNEL=n, CONFIG_LTO_CLANG_THIN=y], ARCH: *loongarch-arch, << : *default}
56+
# CONFIG_DRM_OMAP=n due to https://github.com/ClangBuiltLinux/linux/issues/2038
57+
- &loong_allmod {config: [allmodconfig, CONFIG_DRM_OMAP=n], ARCH: *loongarch-arch, << : *default}
58+
- &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}
5859
- &mips {config: [malta_defconfig, CONFIG_BLK_DEV_INITRD=y, CONFIG_CPU_BIG_ENDIAN=y], kernel_image: vmlinux, ARCH: *mips-arch, << : *kernel}
5960
- &mipsel {config: [malta_defconfig, CONFIG_BLK_DEV_INITRD=y], kernel_image: vmlinux, ARCH: *mips-arch, << : *kernel}
6061
- &ppc32 {config: ppc44x_defconfig, kernel_image: uImage, ARCH: *powerpc-arch, << : *kernel}

0 commit comments

Comments
 (0)