Skip to content

riscv: vdso_cfi: Add clean rule for copied sources#330

Merged
sterling-teng merged 1 commit into
RVCK-Project:rvck-6.6from
unicornx:dev-backport-382cf7b
Jul 14, 2026
Merged

riscv: vdso_cfi: Add clean rule for copied sources#330
sterling-teng merged 1 commit into
RVCK-Project:rvck-6.6from
unicornx:dev-backport-382cf7b

Conversation

@unicornx

@unicornx unicornx commented Jul 8, 2026

Copy link
Copy Markdown

fixed #328

mainline inclusion
from mainline-v7.1-rc1
commit 382cf7b ("riscv: vdso_cfi: Add clean rule for copied sources")
category: bugfix
bugzilla: RVCK-Project#328

--------------------------------

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>
Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

开始测试 log: https://github.com/RVCK-Project/rvck/actions/runs/28926644858

参数解析结果
args value
repository RVCK-Project/rvck
head ref pull/330/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA hardware ['qemu']
LAVA Testcase path lava-testcases/common-test/ltp/ltp.yaml
need run job kunit-test,kernel-build,check-patch,lava-trigger

测试完成

详细结果:
check result
kunit-test success
kernel-build success
check-patch success
lava-trigger-qemu success
lava-trigger-sg2042 skipped
lava-trigger-k1 skipped
lava-trigger-lpi4a skipped

Kunit Test Result

[07:56:16] Testing complete. Ran 482 tests: passed: 465, skipped: 17

Kernel Build Result

Check Patch Result

Total Errors 0
Total Warnings 0

LAVA Check (qemu)

args value
testcase_repo RVCK-Project/lavaci
lava_template lava-job-template/qemu/qemu-ltp.yaml
testcase_path lava-testcases/common-test/ltp/ltp.yaml
kernel_download_url http://10.30.190.110/openEuler-RISC-V/RVCK/OERV-RVCI/RVCK-Project/rvck/330_28926644858_1/Image
initramfs_download_url http://10.30.190.110/openEuler-RISC-V/RVCK/OERV-RVCI/RVCK-Project/rvck/330_28926644858_1/initramfs.img
rootfs_download_url https://fast-mirror.isrc.ac.cn/openeuler-sig-riscv/openEuler-RISC-V/RVCK/openEuler24.03-LTS-SP1/openeuler-rootfs.img.zst
testcase_ref main
testitem_name RVCK-Project_rvck_pull_request_target_330__common-test_qemu

result: Lava check done!

@unicornx unicornx added the ISCAS label Jul 8, 2026
@unicornx
unicornx requested a review from sterling-teng July 8, 2026 07:54
@sterling-teng

Copy link
Copy Markdown
Contributor

已经被合并进rvck-6.6。

@sterling-teng
sterling-teng merged commit 6f2837b into RVCK-Project:rvck-6.6 Jul 14, 2026
53 checks passed
@unicornx
unicornx deleted the dev-backport-382cf7b branch July 14, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

构建过程中存在一些文件不能自动清理

3 participants