From 6e0778ab30f471d957c6e02f42c24565abd38aa0 Mon Sep 17 00:00:00 2001 From: Mikael Olsson Date: Fri, 6 Oct 2023 13:59:44 +0200 Subject: Add -Werror to kernel module builds To ensure that no compilation warnings goes unnoticed, the kernel modules are now built with the -Werror flag so all warnings are treated as errors. Change-Id: Id688052bd297e366ab7ca07c508ca697ca03431e Signed-off-by: Mikael Olsson --- remoteproc/Kbuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'remoteproc') diff --git a/remoteproc/Kbuild b/remoteproc/Kbuild index 8c4a967..ca9919c 100644 --- a/remoteproc/Kbuild +++ b/remoteproc/Kbuild @@ -1,5 +1,6 @@ # -# Copyright (c) 2020-2022 Arm Limited. All rights reserved. +# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates +# SPDX-License-Identifier: GPL-2.0-only # # This program is free software and is provided to you under the terms of the # GNU General Public License version 2 as published by the Free Software @@ -15,8 +16,8 @@ # along with this program; if not, you can access it online at # http://www.gnu.org/licenses/gpl-2.0.html. # -# SPDX-License-Identifier: GPL-2.0-only -# + +ccflags-y += -Werror obj-$(CONFIG_ARM_JUNO_FPGA_RESET) += juno_fpga_reset.o obj-$(CONFIG_ARM_ETHOSU_RPROC) += ethosu_remoteproc.o -- cgit v1.2.1