diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2023-10-06 13:59:44 +0200 |
---|---|---|
committer | Mikael Olsson <mikael.olsson@arm.com> | 2023-10-06 14:23:21 +0200 |
commit | 6e0778ab30f471d957c6e02f42c24565abd38aa0 (patch) | |
tree | 4155a15070a1bf184b1702fb96c40221f8995e90 /remoteproc | |
parent | f1b23f3b117ea5cb9af2aca99ee374b55e9a4a88 (diff) | |
download | ethos-u-linux-driver-stack-6e0778ab30f471d957c6e02f42c24565abd38aa0.tar.gz |
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 <mikael.olsson@arm.com>
Diffstat (limited to 'remoteproc')
-rw-r--r-- | remoteproc/Kbuild | 7 |
1 files changed, 4 insertions, 3 deletions
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 <open-source-office@arm.com> +# 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 |