diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2023-11-14 10:43:30 +0100 |
---|---|---|
committer | Mikael Olsson <mikael.olsson@arm.com> | 2023-11-14 14:22:50 +0100 |
commit | 47e9bd01149a193fd9e69af194d00bfd8d1308a5 (patch) | |
tree | c5aadcc88979c841512d3a3767ef7108ffbe9491 /remoteproc | |
parent | b68243100d123b694006cd3c9dc50d4061c05afc (diff) | |
download | ethos-u-linux-driver-stack-47e9bd01149a193fd9e69af194d00bfd8d1308a5.tar.gz |
Make all kernel module Sparse warnings into errors23.11-rc2
The CMake files for the kernel modules have been updated to treat all
Sparse warnings as errors so that warnings cause the build to fail.
Change-Id: I3682afc3beea7244bb6e0831b2baf48b95611dbc
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Diffstat (limited to 'remoteproc')
-rw-r--r-- | remoteproc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoteproc/CMakeLists.txt b/remoteproc/CMakeLists.txt index c7f7ab8..676db9e 100644 --- a/remoteproc/CMakeLists.txt +++ b/remoteproc/CMakeLists.txt @@ -40,7 +40,7 @@ set(MODULES CONFIG_ARM_ETHOSU_RPROC=m CONFIG_ARM_JUNO_FPGA_RESET=m CONFIG_ARM_CO # Build the kernel module add_custom_target(ethosu-remoteproc-module ALL COMMAND ${CMAKE_MAKE_PROGRAM} -C ${KDIR} - EXTRA_CFLAGS=-I${KDIR}/../../../drivers/remoteproc C=2 M=${CMAKE_CURRENT_SOURCE_DIR} + EXTRA_CFLAGS=-I${KDIR}/../../../drivers/remoteproc CF=-Wsparse-error C=2 M=${CMAKE_CURRENT_SOURCE_DIR} ${MODULES} CROSS_COMPILE=${CROSS_COMPILE} ARCH=${ARCH} modules BYPRODUCTS |