[PATCH v1] fix socfpga GEN5 handoff script path
Chee, Tien Fong
tienfong.chee at altera.com
Wed Jan 28 09:08:54 CET 2026
On 19/1/2026 9:55 am, Brian Sune wrote:
> [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
>
> src variables not longer defined, fixed by srctree
>
> Signed-off-by: Brian Sune<briansune at gmail.com>
> ---
> arch/arm/mach-socfpga/config.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-socfpga/config.mk b/arch/arm/mach-socfpga/config.mk
> index 2290118f747..3909d399895 100644
> --- a/arch/arm/mach-socfpga/config.mk
> +++ b/arch/arm/mach-socfpga/config.mk
> @@ -23,7 +23,7 @@ socfpga_g5_handoff_prepare:
> if [ -z "$$VENDOR" ] || [ -z "$$BOARD" ]; then \
> exit 0; \
> fi; \
> - BOARD_DIR=$(src)/board/$$VENDOR/$$BOARD; \
> + BOARD_DIR=$(srctree)/board/$$VENDOR/$$BOARD; \
> if [ "$$HANDOFF_PATH" ]; then \
> echo "[INFO] Using manually specified handoff folder: $$HANDOFF_PATH"; \
> else \
> @@ -44,5 +44,5 @@ socfpga_g5_handoff_prepare:
> fi; \
> echo "[INFO] Found hiof file: $$HIOF_FILE"; \
> echo "[INFO] Running BSP generator..."; \
> - python3 $(src)/tools/cv_bsp_generator/cv_bsp_generator.py -i "$$HANDOFF_PATH" -o "$$BOARD_DIR/qts" || echo "[WARN] BSP generator failed, continuing..."; \
> + python3 $(srctree)/tools/cv_bsp_generator/cv_bsp_generator.py -i "$$HANDOFF_PATH" -o "$$BOARD_DIR/qts" || echo "[WARN] BSP generator failed, continuing..."; \
> echo "[DONE] SoCFPGA QTS handoff conversion complete."
> --
> 2.34.1
Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com> Best regards,
Tien Fong
More information about the U-Boot
mailing list