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

cp0613@linux.alibaba.com posted 2 patches 2 weeks, 1 day ago
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
[PATCH 0/2] riscv: vdso_cfi build cleanup improvements
Posted by cp0613@linux.alibaba.com 2 weeks, 1 day ago
From: Chen Pei <cp0613@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
Re: [PATCH 0/2] riscv: vdso_cfi build cleanup improvements
Posted by Paul Walmsley 23 hours ago
On Fri, 20 Mar 2026, cp0613@linux.alibaba.com wrote:

> From: Chen Pei <cp0613@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.

Thanks, queued for v7.1.


- Paul