Skip to contentSkip to conversation

fix socfpga GEN5 handoff script path

PATCH In review Brian Sune 2 participants 2 messages Jan 19 – Jan 28

Subsystems (3)
lore
Share & tools
lore

Brian Sune

author
#0 lore raw

PATCH 1/1 fix socfpga GEN5 handoff script path

src variables not longer defined, fixed by srctree

---
 arch/arm/mach-socfpga/config.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-socfpga/config.mk +2 -2
index 2290118f747..3909d399895 100644
@@ -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."
Signature · 1 line
2.34.1
Reviewed-by Tien Fong Chee on v1 1/1
#1 lore raw
Quoted 30 lines · Brian Sune

[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

---
  arch/arm/mach-socfpga/config.mk | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-socfpga/config.mk +2 -3
index 2290118f747..3909d399895 100644
@@ -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."
--
Quoted 1 line

2.34.1