public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1] fix socfpga GEN5 handoff script path
@ 2026-01-19  1:55 Brian Sune
  2026-01-28  8:08 ` Chee, Tien Fong
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Sune @ 2026-01-19  1:55 UTC (permalink / raw)
  To: u-boot, Tom Rini; +Cc: Tien Fong Chee, Brian Sune

src variables not longer defined, fixed by srctree

Signed-off-by: Brian Sune <briansune@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] fix socfpga GEN5 handoff script path
  2026-01-19  1:55 [PATCH v1] fix socfpga GEN5 handoff script path Brian Sune
@ 2026-01-28  8:08 ` Chee, Tien Fong
  0 siblings, 0 replies; 2+ messages in thread
From: Chee, Tien Fong @ 2026-01-28  8:08 UTC (permalink / raw)
  To: Brian Sune, u-boot, Tom Rini; +Cc: Tien Fong Chee


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@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@altera.com> Best regards, 
Tien Fong

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-28  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19  1:55 [PATCH v1] fix socfpga GEN5 handoff script path Brian Sune
2026-01-28  8:08 ` Chee, Tien Fong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox