Kconfig: Enable CONFIG_WERROR Building kernel code should not trigger any compiler warnings. Hence enable CONFIG_WERROR. Tested: Built Fusion-Link: fusion2 N/A Google-Bug-Id: 558753346 Change-Id: Iea06f4f94f81b3c2dfd40104fd1d0179b286f2b0 Signed-off-by: Bart Van Assche <bvanassche@google.com>
diff --git a/recipes-kernel/linux/files/gbmc_defconfig b/recipes-kernel/linux/files/gbmc_defconfig index d47f327..d485e92 100644 --- a/recipes-kernel/linux/files/gbmc_defconfig +++ b/recipes-kernel/linux/files/gbmc_defconfig
@@ -77,6 +77,7 @@ CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y +CONFIG_WERROR=y >=6.18-rc0 # for platforms using out of tree module this should not be set # otherwise we should enable this CONFIG_TRIM_UNUSED_KSYMS=y ~ootmod