From e53b2908f0db8c86ed9eb2135a4453b442bf0dd1 Mon Sep 17 00:00:00 2001 From: lipeng <3428068280@qq.com> Date: Tue, 22 Jul 2025 10:56:36 +0800 Subject: [PATCH] tspi-3566: u-boot-tspi-3566.bb Adjustments * Fix the filename of the final deployed parameter file to `parameter.txt`. In Rockchip development tools, importing configuration files without an extension directly causes the tool to freeze and exit. The filename needs to be adjusted to the `.txt` format. * Update the Python symbolic link creation method to prevent 'failed: File exists' errors during secondary compilation caused by the pre-existence of the tmp directory. Signed-off-by: lipeng --- .../rockchip/recipes-bsp/u-boot/u-boot-tspi-3566.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/meta-openeuler-bsp/rockchip/recipes-bsp/u-boot/u-boot-tspi-3566.bb b/bsp/meta-openeuler-bsp/rockchip/recipes-bsp/u-boot/u-boot-tspi-3566.bb index e0571b13341..0153eac8cb8 100644 --- a/bsp/meta-openeuler-bsp/rockchip/recipes-bsp/u-boot/u-boot-tspi-3566.bb +++ b/bsp/meta-openeuler-bsp/rockchip/recipes-bsp/u-boot/u-boot-tspi-3566.bb @@ -12,7 +12,7 @@ do_copy_rkbin_source() { do_configure:prepend() { # the python scripts need python2, so we create tmp soft link - ln -s $(which python) ${RECIPE_SYSROOT_NATIVE}${bindir_native}/python2 + ln -sf $(which python) ${RECIPE_SYSROOT_NATIVE}${bindir_native}/python2 } do_compile() { @@ -37,6 +37,6 @@ do_deploy() { # add parameter to deploy directory do_deploy:append() { if [ -f "${WORKDIR}/${PARAMETER}" ]; then - install ${WORKDIR}/${PARAMETER} ${OUTPUT_DIR}/parameter + install ${WORKDIR}/${PARAMETER} ${OUTPUT_DIR}/parameter.txt fi } -- Gitee