diff --git a/ROMFS/CMakeLists.txt b/ROMFS/CMakeLists.txt index af2f5132d9..d8ef8b9cda 100644 --- a/ROMFS/CMakeLists.txt +++ b/ROMFS/CMakeLists.txt @@ -179,6 +179,7 @@ if(SHELLCHECK_PATH) --exclude=SC2086 # SC2086: Double quote to prevent globbing and word splitting. --exclude=SC2039 # SC2039: In POSIX sh, == in place of = is undefined. --exclude=SC2166 # SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. + --exclude=SC2154 # SC2154: is referenced but not assigned (NuttX uses different asssignment) init.d/* DEPENDS ${romfs_gen_root_dir}/init.d/rc.autostart WORKING_DIRECTORY ${romfs_gen_root_dir}