[PATCH 0/2] riscv: vdso_cfi build cleanup improvements

cp0613 at linux.alibaba.com cp0613 at linux.alibaba.com
Thu Mar 19 19:18:48 PDT 2026


From: Chen Pei <cp0613 at linux.alibaba.com>

This patch series addresses two issues with the RISC-V VDSO CFI build:

1. Build artifacts were not cleaned properly during 'make clean'
2. Copied source files were being tracked by git

The first patch adds the clean-files variable to ensure that temporary
source files copied from the main vdso directory are removed during
make clean.

The second patch adds a .gitignore file to prevent git from tracking
build artifacts and copied source files in the vdso_cfi build directory.

These changes improve the build system hygiene and maintain clean
working directories for developers working with CFI support.

Chen Pei (2):
  riscv: vdso_cfi: Add clean rule for copied sources
  riscv: vdso_cfi: Add .gitignore for build artifacts

 arch/riscv/kernel/vdso_cfi/.gitignore | 8 ++++++++
 arch/riscv/kernel/vdso_cfi/Makefile   | 3 +++
 2 files changed, 11 insertions(+)
 create mode 100644 arch/riscv/kernel/vdso_cfi/.gitignore

-- 
2.50.1




More information about the linux-riscv mailing list