[PW_SID:1069613] riscv: vdso_cfi build cleanup improvements#1646
[PW_SID:1069613] riscv: vdso_cfi build cleanup improvements#1646linux-riscv-bot wants to merge 3 commits intoworkflow__riscv__fixesfrom
Conversation
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> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The vdso_cfi build process copies source files (*.c, *.S) from the main vdso directory to the build directory. Without a .gitignore file, these copied files appear as untracked files in git status, cluttering the working directory. Add a .gitignore file to exclude: - Copied source files (*.c, *.S) - Temporary build files (vdso.lds, *.tmp, vdso-syms.S) - While preserving vdso-cfi.S which is the original entry point This follows the same pattern used in the main vdso directory and keeps the working directory clean. Signed-off-by: Chen Pei <cp0613@linux.alibaba.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
|
Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts" |
e3d6c9b to
c315cbf
Compare
PR for series 1069613 applied to workflow__riscv__fixes
Name: riscv: vdso_cfi build cleanup improvements
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1069613
Version: 1