summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorChen Pei <cp0613@linux.alibaba.com>2026-04-04 04:28:47 +0300
committerPaul Walmsley <pjw@kernel.org>2026-04-05 03:42:44 +0300
commit382cf7b75b05ee28b9ac2a27b6b8c7c4eb8910dc (patch)
treec8ce78623826d37c253f34cc975cc4aace2a33bd /scripts/const_structs.checkpatch
parentd1f014012571323f3857873d94c2abf9343ef62d (diff)
downloadlinux-382cf7b75b05ee28b9ac2a27b6b8c7c4eb8910dc.tar.xz
riscv: vdso_cfi: Add clean rule for copied sources
When building VDSO with CFI support, source files are copied from the main VDSO directory to the CFI build directory as part of the build process. However, these copied source files were not removed during 'make clean', leaving temporary files in the build directory. Add the clean-files variable to ensure that these copied .c and .S files are properly cleaned up. The notdir() function is used to strip the path prefix, as clean-files expects relative file names without directory components. This ensures the build directory is left in a clean state after make clean. Signed-off-by: Chen Pei <cp0613@linux.alibaba.com> Link: https://patch.msgid.link/20260320021850.1877-2-cp0613@linux.alibaba.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions